From 0509bb9bb4dd60558a4011ae18fc93a38d87fedf Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Thu, 30 May 2013 00:53:37 +0200 Subject: [PATCH] shell-gtk-embed: Lower tray icon windows to the bottom of the stack Otherwise they break the "top level window" detection used by the unredirect code in mutter, causes game windows not to be unredirected when tray icons are present. https://bugzilla.gnome.org/show_bug.cgi?id=701224 --- src/shell-gtk-embed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell-gtk-embed.c b/src/shell-gtk-embed.c index 045435eeb..bfff044ff 100644 --- a/src/shell-gtk-embed.c +++ b/src/shell-gtk-embed.c @@ -106,6 +106,8 @@ shell_gtk_embed_window_created_cb (MetaDisplay *display, 0, 0 /* offset x/y */); cairo_region_destroy (empty_region); + gdk_window_lower (gdk_window); + /* Now that we've found the window we don't need to listen for new windows anymore */ g_signal_handler_disconnect (display,