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
This commit is contained in:
Jasper St. Pierre 2013-02-15 02:19:19 -05:00
parent 5e9621ed80
commit 491c5b622e

View File

@ -1576,6 +1576,8 @@ meta_window_actor_new (MetaWindow *window)
clutter_actor_hide (CLUTTER_ACTOR (self)); 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 /* Initial position in the stack is arbitrary; stacking will be synced
* before we first paint. * before we first paint.
*/ */