1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-27 17:02:33 +01:00

Make window stacking level changes to match GNUstep.

This commit is contained in:
richard
2001-02-09 15:56:52 +00:00
parent 40386e1d40
commit 4d8e691608
6 changed files with 101 additions and 52 deletions

View File

@@ -54,15 +54,30 @@ enum {
};
#ifndef _WINGS_H_
/* window stacking level */
/*
* Window levels are taken from GNUstep (gui/AppKit/NSWindow.h)
* NSDesktopWindowLevel intended to be the level at which things
* on the desktop sit ... so you should be able
* to put a desktop background just below it.
*
* Applications are actually permitted to use any value in the
* range INT_MIN+1 to INT_MAX
*/
enum {
WMNormalWindowLevel = 0,
WMFloatingWindowLevel = 3,
WMDockWindowLevel = 5,
WMSubmenuWindowLevel = 10,
WMMainMenuWindowLevel = 20
WMDesktopWindowLevel = -1000, /* GNUstep addition */
WMNormalWindowLevel = 0,
WMFloatingWindowLevel = 3,
WMSubmenuWindowLevel = 3,
WMTornOffMenuWindowLevel = 3,
WMMainMenuWindowLevel = 20,
WMDockWindowLevel = 21, /* Deprecated - use NSStatusWindowLevel */
WMStatusWindowLevel = 21,
WMModalPanelWindowLevel = 100,
WMPopUpMenuWindowLevel = 101,
WMScreenSaverWindowLevel = 1000
};
/* window attributes */
enum {
WMBorderlessWindowMask = 0,