mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
Fix build failure on missing randr
When building without xrandr support do not try to modify undefined variable has_randr.
This commit is contained in:
committed by
Carlos R. Mafra
parent
c201e1612c
commit
894bf4e292
@@ -702,8 +702,6 @@ void StartUp(Bool defaultScreenOnly)
|
|||||||
|
|
||||||
#ifdef HAVE_XRANDR
|
#ifdef HAVE_XRANDR
|
||||||
has_randr = XRRQueryExtension(dpy, &randr_event_base, &dummy);
|
has_randr = XRRQueryExtension(dpy, &randr_event_base, &dummy);
|
||||||
#else
|
|
||||||
has_randr = false;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef KEEP_XKB_LOCK_STATUS
|
#ifdef KEEP_XKB_LOCK_STATUS
|
||||||
|
|||||||
Reference in New Issue
Block a user