[mutter] window-actor: Set every window actor to be reactive



commit 491c5b622e7717626ca1247f7677a736b0275693
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Feb 15 02:19:19 2013 -0500

    window-actor: Set every window actor to be reactive
    
    Now that the background actor is reactive, this means that
    clicks on the window group part of the stage, even when they're
    on an X window, will be registered as the background actor, as
    all of the other children of the group aren't reactive. This can
    happen when a plugin takes a modal grab, for instance.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681540

 src/compositor/meta-window-actor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 53987e2..34a72ef 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -1576,6 +1576,8 @@ meta_window_actor_new (MetaWindow *window)
 
   clutter_actor_hide (CLUTTER_ACTOR (self));
 
+  clutter_actor_set_reactive (CLUTTER_ACTOR (self), TRUE);
+
   /* Initial position in the stack is arbitrary; stacking will be synced
    * before we first paint.
    */


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