1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

wmaker: Moved variables for the XRandR extension into the global namespace

This commit is contained in:
Christophe CURIS
2013-10-10 20:38:25 +02:00
committed by Carlos R. Mafra
parent 3995130b79
commit 6dcfdd072b
6 changed files with 11 additions and 14 deletions

View File

@@ -552,7 +552,7 @@ static void handleExtensions(XEvent * event)
}
#endif /*KEEP_XKB_LOCK_STATUS */
#ifdef HAVE_XRANDR
if (has_randr && event->type == (randr_event_base + RRScreenChangeNotify)) {
if (w_global.xext.randr.supported && event->type == (w_global.xext.randr.event_base + RRScreenChangeNotify)) {
/* From xrandr man page: "Clients must call back into Xlib using
* XRRUpdateConfiguration when screen configuration change notify
* events are generated */