diff options
author | Rob Adams <robadams@uclu.edu> | 2003-08-19 20:10:45 +0000 |
---|---|---|
committer | Rob Adams <readams@src.gnome.org> | 2003-08-19 20:10:45 +0000 |
commit | a2b6ff6d42ea83827d4582c8d68328dba531b841 (patch) | |
tree | 8cbd64141f59b4cac57ddaa598b4cabc9e889c25 | |
parent | 5ea067a1d84d83ab144afbe0d17125a33396e143 (diff) | |
download | metacity-a2b6ff6d42ea83827d4582c8d68328dba531b841.tar.gz |
put windows with wm_state_below at the bottom. Make this higher priority
2003-08-19 Rob Adams <robadams@uclu.edu>
* src/stack.c (get_standalone_layer): put windows with
wm_state_below at the bottom. Make this higher priority than full
screen layer; see #120238.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/stack.c | 8 |
2 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2003-08-19 Rob Adams <robadams@uclu.edu> + + * src/stack.c (get_standalone_layer): put windows with + wm_state_below at the bottom. Make this higher priority than full + screen layer; see #120238. + 2003-08-18 Rob Adams <robadams@ucla.edu> * src/constraints.c (meta_window_constrain): recalculate frame diff --git a/src/stack.c b/src/stack.c index 7a97e80a..cafae18c 100644 --- a/src/stack.c +++ b/src/stack.c @@ -264,9 +264,11 @@ get_standalone_layer (MetaWindow *window) is_focused_foreach, &focused_transient); - if ((window->has_focus || focused_transient || - (window == window->display->expected_focus_window)) && - (window->fullscreen || window_is_fullscreen_size (window))) + if (window->wm_state_below) + layer = META_LAYER_BOTTOM; + else if ((window->has_focus || focused_transient || + (window == window->display->expected_focus_window)) && + (window->fullscreen || window_is_fullscreen_size (window))) layer = META_LAYER_FULLSCREEN; else if (window->wm_state_above) layer = META_LAYER_DOCK; |