summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2006-02-12 00:01:06 +0000
committerElijah Newren <newren@src.gnome.org>2006-02-12 00:01:06 +0000
commitcb298b9279da875743f888f4113e448e2e6d16f4 (patch)
treed4425a5c0c83e964f8343f657fda8018a9e73779
parent74510389bc6dc9f7991d34a312ce5ef6b3d113cb (diff)
downloadmetacity-cb298b9279da875743f888f4113e448e2e6d16f4.tar.gz
actually use META_LAYER_TOP but just manually make it equal to
2006-02-11 Elijah Newren <newren gmail com> * src/stack.h (enum MetaStackLayer): * src/stack.c (get_standalone_layer): actually use META_LAYER_TOP but just manually make it equal to META_LAYER_DOCK. Add a note point to the EWMH for why we do this. #330717
-rw-r--r--ChangeLog8
-rw-r--r--src/stack.c2
-rw-r--r--src/stack.h2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index de71576b..423d2e64 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2006-02-11 Elijah Newren <newren gmail com>
+ * src/stack.h (enum MetaStackLayer):
+ * src/stack.c (get_standalone_layer):
+ actually use META_LAYER_TOP but just manually make it equal to
+ META_LAYER_DOCK. Add a note point to the EWMH for why we do this.
+ #330717
+
+2006-02-11 Elijah Newren <newren gmail com>
+
* src/window.c (enum GnomeWinLayer): remove this legacy cruft that
we stopped using years ago
diff --git a/src/stack.c b/src/stack.c
index b3bd203e..bf834b4c 100644
--- a/src/stack.c
+++ b/src/stack.c
@@ -292,7 +292,7 @@ get_standalone_layer (MetaWindow *window)
window->display->expected_focus_window))))
layer = META_LAYER_FULLSCREEN;
else if (window->wm_state_above)
- layer = META_LAYER_DOCK;
+ layer = META_LAYER_TOP;
else
layer = META_LAYER_NORMAL;
break;
diff --git a/src/stack.h b/src/stack.h
index 5449a24d..831a19bf 100644
--- a/src/stack.h
+++ b/src/stack.h
@@ -50,7 +50,7 @@ typedef enum
META_LAYER_DESKTOP = 0,
META_LAYER_BOTTOM = 1,
META_LAYER_NORMAL = 2,
- META_LAYER_TOP = 3,
+ META_LAYER_TOP = 4, /* Same as DOCK; see EWMH and bug 330717 */
META_LAYER_DOCK = 4,
META_LAYER_FULLSCREEN = 5,
META_LAYER_FOCUSED_WINDOW = 6,