mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
wmaker: Moved variables for the XShape extension into the global namespace
This commit is contained in:
committed by
Carlos R. Mafra
parent
c3c2d8d7f1
commit
81aa311c42
@@ -570,6 +570,23 @@ extern struct wmaker_global_variables {
|
||||
XContext stack;
|
||||
} context;
|
||||
|
||||
/* X Extensions */
|
||||
struct {
|
||||
#ifdef SHAPE
|
||||
struct {
|
||||
Bool supported;
|
||||
int event_base;
|
||||
} shape;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If no extension were activated, we would end up with an empty
|
||||
* structure, which old compilers may not appreciate, so let's
|
||||
* work around this with a simple:
|
||||
*/
|
||||
int dummy;
|
||||
} xext;
|
||||
|
||||
/* Session related */
|
||||
WMPropList *session_state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user