1
0
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:
Christophe CURIS
2013-10-10 20:38:23 +02:00
committed by Carlos R. Mafra
parent c3c2d8d7f1
commit 81aa311c42
7 changed files with 24 additions and 33 deletions

View File

@@ -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;