Don't pass on X events to Clutter

The Mutter plugin manager has now been changed so that it itself will
pass on the events through Clutter so there is no need to do this in
Gnome Shell anymore.
This commit is contained in:
Neil Roberts 2012-03-14 17:14:46 +00:00
parent 206f036cef
commit da1b7f4f83

View File

@ -386,10 +386,7 @@ gnome_shell_plugin_xevent_filter (MetaPlugin *plugin,
/*
* Pass the event to shell-global
*/
if (_shell_global_check_xdnd_event (shell_plugin->global, xev))
return TRUE;
return clutter_x11_handle_event (xev) != CLUTTER_X11_FILTER_CONTINUE;
return _shell_global_check_xdnd_event (shell_plugin->global, xev);
}
static gboolean