[Spice-commits] gtk/spice-widget.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Nov 28 02:29:58 PST 2012

 gtk/spice-widget.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5ec6e4d010fb87a5fe765743a614879110f63eb4
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Sat Nov 24 00:53:24 2012 +0100

    win32: fix rendering issue when widget is partially off screen
    Gtk+ in win32 has a rendering bug with window non-buffered:
    According to Alex Larsson, this shouldn't affect performance much,
    since there is already extra-copy done for offscreen buffers, and
    might even make it faster in gtk+ 3.0...

diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
index 1282062..a9f0577 100644
--- a/gtk/spice-widget.c
+++ b/gtk/spice-widget.c
@@ -482,7 +482,7 @@ static void spice_display_init(SpiceDisplay *display)
                           GDK_LEAVE_NOTIFY_MASK |
                           GDK_KEY_PRESS_MASK |
-    gtk_widget_set_double_buffered(widget, false);
+    gtk_widget_set_double_buffered(widget, true);
     gtk_widget_set_can_focus(widget, true);
     gtk_widget_set_has_window(widget, true);
     d->keycode_map = vnc_display_keymap_gdk2xtkbd_table(&d->keycode_maplen);

More information about the Spice-commits mailing list