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:
committed by
Carlos R. Mafra
parent
3995130b79
commit
6dcfdd072b
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user