mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-27 00:42:32 +01:00
- Finished moving to the new proplist handling code in WINGs.
- Also tested the backward compatibility ability of the WINGs proplist code which seems to work quite well. Starting with this moment, Window Maker no longer needs libPropList and is now using the better and much more robust proplist code from WINGs. Also the WINGs based proplist code is actively maintained while the old libPropList code is practically dead and flawed by the fact that it borrowed concepts from the UserDefaults which conflicted with the retain/release mechanism, making some problems that libPropList had, practically unsolvable without a complete redesign (which can be found in the more robust WINGs code).
This commit is contained in:
@@ -24,23 +24,8 @@
|
||||
#ifndef WMGNUSTEP_H_
|
||||
#define WMGNUSTEP_H_
|
||||
|
||||
/*
|
||||
* Kluge for when proplist.h is included too. proplist.h #defines BOOL
|
||||
* and Xmd.h (which is indirectly included from Xproto.h) typedefs BOOL.
|
||||
* The worst is that the BOOL from Xmd.h is a 8bit type, while BOOL from
|
||||
* proplist.h is int...
|
||||
*/
|
||||
#ifdef BOOL
|
||||
#define WINGS_BOOL_FLAG
|
||||
#undef BOOL
|
||||
#endif
|
||||
|
||||
#include <X11/Xproto.h>
|
||||
|
||||
#ifdef WINGS_BOOL_FLAG
|
||||
#define BOOL int
|
||||
#undef WINGS_BOOL_FLAG
|
||||
#endif
|
||||
|
||||
#define GNUSTEP_WM_MINIATURIZE_WINDOW "_GNUSTEP_WM_MINIATURIZE_WINDOW"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user