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 authored and Carlos R. Mafra committed 2010-08-29 14:55:13 +02:00
1 parent c201e1612c
commit 894bf4e292
1 file changed
-2
-2
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