mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02: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:
1 parent
c201e1612c
commit
894bf4e292
1 file changed
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user