[gnome-shell] shell-gtk-embed: Remove old hack workaround for a mutter bug



commit dbf16d6ea350402d605f75efdd90bfe8c1e17f20
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Nov 26 12:52:48 2014 -0800

    shell-gtk-embed: Remove old hack workaround for a mutter bug
    
    The window actor shouldn't have been picked since it has an empty
    input shape, but bugs in mutter weren't properly interpreting that.
    
    Since the Wayland restructure, the MetaWindowActor isn't actually
    reactive anymore, it's the MetaSurfaceActorX11, so this code isn't
    doing anything.

 src/shell-gtk-embed.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/shell-gtk-embed.c b/src/shell-gtk-embed.c
index dddb465..bfff044 100644
--- a/src/shell-gtk-embed.c
+++ b/src/shell-gtk-embed.c
@@ -106,9 +106,6 @@ shell_gtk_embed_window_created_cb (MetaDisplay   *display,
                                              0, 0 /* offset x/y */);
       cairo_region_destroy (empty_region);
 
-      /* Set the actor as unreative so Clutter doesn't pick it, either */
-      clutter_actor_set_reactive (window_actor, FALSE);
-
       gdk_window_lower (gdk_window);
 
       /* Now that we've found the window we don't need to listen for


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