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.
This commit is contained in:
Rob Adams 2003-08-19 20:10:45 +00:00 committed by Rob Adams
parent 5ea067a1d8
commit a2b6ff6d42
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -264,7 +264,9 @@ get_standalone_layer (MetaWindow *window)
is_focused_foreach,
&focused_transient);
if ((window->has_focus || focused_transient ||
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;