From d93d26aaeb43415f03c838f564a05e673893cca7 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Thu, 27 Jan 2005 18:28:06 +0000 Subject: [PATCH] Treat splashscreens same as other windows for stacking. Fixes #165243. 2005-01-27 Elijah Newren 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 --- ChangeLog | 11 +++++++++++ src/stack.c | 6 +----- src/stack.h | 5 ++--- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index f812f1acd..8006bb5a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2005-01-27 Elijah Newren + + 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 * src/window.c: (set_net_wm_state): shaded windows should not show diff --git a/src/stack.c b/src/stack.c index a2ffb1e33..c49861a90 100644 --- a/src/stack.c +++ b/src/stack.c @@ -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) { diff --git a/src/stack.h b/src/stack.h index 5cbcf807f..3c805d2e6 100644 --- a/src/stack.h +++ b/src/stack.h @@ -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