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
This commit is contained in:
Elijah Newren 2006-02-12 00:01:06 +00:00 committed by Elijah Newren
parent 74510389bc
commit cb298b9279
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
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

View File

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

View File

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