From bc9a2cc92ad7d116505036e59d473aa58cb568a8 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Sun, 28 Jun 2009 09:10:08 -0400 Subject: [PATCH] Don't move hidden windows to the desktop layer Putting hidden windows in the desktop layer is pointless - in the desktop layer isn't necessary below all visible windows, and we are hiding the windows by other means. And the movement isn't reliable because nothing sets stack->needs_relayer, so windows can get stuck in the desktop layer after being rehidden. http://bugzilla.gnome.org/show_bug.cgi?id=587251 --- src/core/stack.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/stack.c b/src/core/stack.c index 561d766f8..869a621fc 100644 --- a/src/core/stack.c +++ b/src/core/stack.c @@ -241,12 +241,6 @@ get_standalone_layer (MetaWindow *window) MetaStackLayer layer; gboolean focused_transient = FALSE; - if (window->hidden) - { - layer = META_LAYER_DESKTOP; - return layer; - } - switch (window->type) { case META_WINDOW_DESKTOP: