diff options
author | Elijah Newren <newren gmail com> | 2006-02-12 00:01:06 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2006-02-12 00:01:06 +0000 |
commit | cb298b9279da875743f888f4113e448e2e6d16f4 (patch) | |
tree | d4425a5c0c83e964f8343f657fda8018a9e73779 | |
parent | 74510389bc6dc9f7991d34a312ce5ef6b3d113cb (diff) | |
download | metacity-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-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/stack.c | 2 | ||||
-rw-r--r-- | src/stack.h | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -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, |