[gnome-shell/wip/wayland: 4/4] Don't pass on X events to Clutter
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/wayland: 4/4] Don't pass on X events to Clutter
- Date: Thu, 15 Mar 2012 18:54:56 +0000 (UTC)
commit 0e36e72cee51c4ed6200a710d10d5ff1889d63d8
Author: Neil Roberts <neil linux intel com>
Date: Wed Mar 14 17:14:46 2012 +0000
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.
src/gnome-shell-plugin.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c
index 9b4be1c..d6680ed 100644
--- a/src/gnome-shell-plugin.c
+++ b/src/gnome-shell-plugin.c
@@ -382,10 +382,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 const
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]