diff --git a/ChangeLog b/ChangeLog index 48da9a676..9976883a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-02-08 Richard Frith-Macdonald + + * Headers/gnustep/gui/NSWindow.h: Added a GNUstep specific window + level for the desktop (to work in conjunction with Window Maker) + and changed the deprectated dock window level to match the value + in MacOS-X beta. + Thu Feb 8 19:17:25 2001 Nicola Pero * Headers/gnustep/gui/AppKit.h: Include NSSecureTextField.h. diff --git a/Headers/gnustep/gui/NSWindow.h b/Headers/gnustep/gui/NSWindow.h index bc6e88643..336d7cd7b 100644 --- a/Headers/gnustep/gui/NSWindow.h +++ b/Headers/gnustep/gui/NSWindow.h @@ -57,13 +57,20 @@ @class NSView; @class NSWindowController; +/* + * Window levels are taken from MacOS-X + * NSDesktopWindowLevel is copied from Window maker and is 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. + */ enum { + NSDesktopWindowLevel = -1000, /* GNUstep addition */ NSNormalWindowLevel = 0, NSFloatingWindowLevel = 3, NSSubmenuWindowLevel = 3, NSTornOffMenuWindowLevel = 3, - NSDockWindowLevel = 5, /* Deprecated - use NSStatusWindowLevel */ NSMainMenuWindowLevel = 20, + NSDockWindowLevel = 21, /* Deprecated - use NSStatusWindowLevel */ NSStatusWindowLevel = 21, NSModalPanelWindowLevel = 100, NSPopUpMenuWindowLevel = 101,