[clutter-gtk] embed: capture configure event to forward them to the gdk backend on x11



commit bf992769f4505397ca6ac0f9de5eb66885fc537e
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 15 00:59:42 2015 +0100

    embed: capture configure event to forward them to the gdk backend on x11
    
    This changes works in conjunction with a Clutter change [1] to ensure
    rendering is correctly synchronized at the different level of the stack.
    
    [1] : https://git.gnome.org/browse/clutter/commit/?id=ee98a5bbe8ad21519d5e368ca5b2336e5d1da880
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755016

 clutter-gtk/gtk-clutter-embed.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-embed.c b/clutter-gtk/gtk-clutter-embed.c
index 061e62c..062f3ec 100644
--- a/clutter-gtk/gtk-clutter-embed.c
+++ b/clutter-gtk/gtk-clutter-embed.c
@@ -521,7 +521,8 @@ gtk_clutter_embed_realize (GtkWidget *widget)
                         | GDK_ENTER_NOTIFY_MASK
                         | GDK_LEAVE_NOTIFY_MASK
                         | GDK_TOUCH_MASK
-                        | GDK_SMOOTH_SCROLL_MASK;
+                        | GDK_SMOOTH_SCROLL_MASK
+                        | GDK_STRUCTURE_MASK;
 
   attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]