From 9f6cd7517097aa7df6a8d232009216928a2171fe 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,