mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +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
@@ -90,11 +90,6 @@ extern WDDomain *WDRootMenu;
|
||||
extern WDDomain *WDWindowAttributes;
|
||||
extern WShortKey wKeyBindings[WKBD_LAST];
|
||||
|
||||
#ifdef SHAPE
|
||||
extern Bool wShapeSupported;
|
||||
extern int wShapeEventBase;
|
||||
#endif
|
||||
|
||||
#ifdef KEEP_XKB_LOCK_STATUS
|
||||
extern Bool wXkbSupported;
|
||||
extern int wXkbEventBase;
|
||||
@@ -633,7 +628,7 @@ void StartUp(Bool defaultScreenOnly)
|
||||
|
||||
#ifdef SHAPE
|
||||
/* ignore j */
|
||||
wShapeSupported = XShapeQueryExtension(dpy, &wShapeEventBase, &j);
|
||||
w_global.xext.shape.supported = XShapeQueryExtension(dpy, &w_global.xext.shape.event_base, &j);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_XRANDR
|
||||
|
||||
Reference in New Issue
Block a user