[mutter] Don't move hidden windows to the desktop layer
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [mutter] Don't move hidden windows to the desktop layer
- Date: Mon, 6 Jul 2009 07:44:54 +0000 (UTC)
commit bc9a2cc92ad7d116505036e59d473aa58cb568a8
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Sun Jun 28 09:10:08 2009 -0400
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 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/core/stack.c b/src/core/stack.c
index 561d766..869a621 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]