Treat splashscreens same as other windows for stacking. Fixes #165243.

2005-01-27  Elijah Newren  <newren@gmail.com>

	Treat splashscreens same as other windows for stacking.  Fixes
	#165243.

	* src/stack.h: (MetaStackLayer enum): remove META_LAYER_SPLASH
	from the list

	* src/stack.c: (get_standalone_layer): remove the special casing
	of META_WINDOW_SPLASHSCREEN
This commit is contained in:
Elijah Newren 2005-01-27 18:28:06 +00:00 committed by Elijah Newren
parent 0a95c706bf
commit d93d26aaeb
3 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,14 @@
2005-01-27 Elijah Newren <newren@gmail.com>
Treat splashscreens same as other windows for stacking. Fixes
#165243.
* src/stack.h: (MetaStackLayer enum): remove META_LAYER_SPLASH
from the list
* src/stack.c: (get_standalone_layer): remove the special casing
of META_WINDOW_SPLASHSCREEN
2005-01-27 Elijah Newren <newren@gmail.com>
* src/window.c: (set_net_wm_state): shaded windows should not show

View File

@ -272,10 +272,6 @@ get_standalone_layer (MetaWindow *window)
layer = META_LAYER_DOCK;
break;
case META_WINDOW_SPLASHSCREEN:
layer = META_LAYER_SPLASH;
break;
default:
meta_window_foreach_transient (window,
is_focused_foreach,
@ -1495,7 +1491,7 @@ meta_stack_get_positions (MetaStack *stack)
return tmp;
}
gint
static gint
compare_pointers (gconstpointer a,
gconstpointer b)
{

View File

@ -52,9 +52,8 @@ typedef enum
META_LAYER_TOP = 3,
META_LAYER_DOCK = 4,
META_LAYER_FULLSCREEN = 5,
META_LAYER_SPLASH = 6,
META_LAYER_FOCUSED_WINDOW = 7,
META_LAYER_LAST = 8
META_LAYER_FOCUSED_WINDOW = 6,
META_LAYER_LAST = 7
} MetaStackLayer;
struct _MetaStack