[gnome-shell] shell-gtk-embed: Make the MetaWindowActor for a tray icon unreactive
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell-gtk-embed: Make the MetaWindowActor for a tray icon unreactive
- Date: Wed, 21 Aug 2013 20:59:25 +0000 (UTC)
commit ae80e81b75c99497decf6bbd865a562b2d365e0f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Aug 21 16:47:15 2013 -0400
shell-gtk-embed: Make the MetaWindowActor for a tray icon unreactive
The MetaWindowActor isn't painted, and we empty its input shape in
the X scene graph, but Clutter still picked it. Set it as unreactive
so that it can't be picked.
https://bugzilla.gnome.org/show_bug.cgi?id=706536
src/shell-gtk-embed.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-gtk-embed.c b/src/shell-gtk-embed.c
index bfff044..dddb465 100644
--- a/src/shell-gtk-embed.c
+++ b/src/shell-gtk-embed.c
@@ -106,6 +106,9 @@ shell_gtk_embed_window_created_cb (MetaDisplay *display,
0, 0 /* offset x/y */);
cairo_region_destroy (empty_region);
+ /* Set the actor as unreative so Clutter doesn't pick it, either */
+ clutter_actor_set_reactive (window_actor, FALSE);
+
gdk_window_lower (gdk_window);
/* Now that we've found the window we don't need to listen for
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]