summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid B <git-svc@ccbar.us>2019-11-27 19:30:33 -0500
committerDavid B <git-svc@ccbar.us>2019-11-27 19:30:33 -0500
commitef64661d923c14615aa4b2d6e106ea4c4eb86ae6 (patch)
treed37307eece516543d6c90bef96800eaeb167f19f
parentc04471ea730bbc44766ff3493662b82db28709a2 (diff)
parent5a1a1681069e0ea0a580aeb1da84f4e53f949056 (diff)
Merge branch 'kriyative-fix-config-protect-randr-extension'19.11
-rw-r--r--head.lisp6
1 files changed, 4 insertions, 2 deletions
diff --git a/head.lisp b/head.lisp
index 33ec85b..6442d20 100644
--- a/head.lisp
+++ b/head.lisp
@@ -67,10 +67,12 @@
:when head
:collect head))
+
(defun make-screen-heads (screen root)
(declare (ignore screen))
- (cond ((xlib:query-extension *display* "RANDR")
- (make-screen-randr-heads root))
+ ;; Query for whether the server supports RANDR, if so, call the
+ ;; randr version of make-screen-heads.
+ (cond ((xlib:query-extension *display* "RANDR") (make-screen-randr-heads root))
((and (xlib:query-extension *display* "XINERAMA")
(xinerama:xinerama-is-active *display*))
(mapcar 'screen-info-head