mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 16:32:30 +01:00
bracket enum declarations with preprocessor defines to avoid
redefinition of the same enums.
This commit is contained in:
@@ -53,7 +53,8 @@ enum {
|
||||
WMTitleBarMain = 2
|
||||
};
|
||||
|
||||
#ifndef _WINGS_H_
|
||||
#ifndef _DEFINED_GNUSTEP_WINDOW_INFO
|
||||
#define _DEFINED_GNUSTEP_WINDOW_INFO
|
||||
/*
|
||||
* Window levels are taken from GNUstep (gui/AppKit/NSWindow.h)
|
||||
* NSDesktopWindowLevel intended to be the level at which things
|
||||
@@ -88,7 +89,7 @@ enum {
|
||||
WMIconWindowMask = 64,
|
||||
WMMiniWindowMask = 128
|
||||
};
|
||||
#endif /* _WINGS_H_ */
|
||||
#endif
|
||||
|
||||
/* window manager -> appkit notifications */
|
||||
#define GNUSTEP_WM_NOTIFICATION "GNUSTEP_WM_NOTIFICATION"
|
||||
|
||||
Reference in New Issue
Block a user