From 894bf4e292cef228c92507f1ebc921b6cde0ff8c Mon Sep 17 00:00:00 2001 From: Andreas Metzler Date: Sun, 29 Aug 2010 13:31:58 +0200 Subject: [PATCH] Fix build failure on missing randr When building without xrandr support do not try to modify undefined variable has_randr. --- src/startup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/startup.c b/src/startup.c index b16b979b..87fa6af2 100644 --- a/src/startup.c +++ b/src/startup.c @@ -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