Do not use the default stage

https://bugzilla.gnome.org/show_bug.cgi?id=664052
This commit is contained in:
Jasper St. Pierre
2011-11-21 11:56:24 -05:00
parent 69e26c6dee
commit faff0738eb
8 changed files with 271 additions and 261 deletions

View File

@ -323,7 +323,7 @@ gnome_shell_plugin_xevent_filter (MetaPlugin *plugin,
#endif
if ((xev->xany.type == EnterNotify || xev->xany.type == LeaveNotify)
&& xev->xcrossing.window == clutter_x11_get_stage_window (CLUTTER_STAGE (clutter_stage_get_default ())))
&& xev->xcrossing.window == clutter_x11_get_stage_window (CLUTTER_STAGE (meta_plugin_get_stage (plugin))))
{
/* If the pointer enters a child of the stage window (eg, a
* trayicon), we want to consider it to still be in the stage,