1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +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:
Andreas Metzler
2010-08-29 13:31:58 +02:00
committed by Carlos R. Mafra
parent c201e1612c
commit 894bf4e292

View File

@@ -702,8 +702,6 @@ void StartUp(Bool defaultScreenOnly)
#ifdef HAVE_XRANDR
has_randr = XRRQueryExtension(dpy, &randr_event_base, &dummy);
#else
has_randr = false;
#endif
#ifdef KEEP_XKB_LOCK_STATUS