about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2015-08-03T12·26+0800
committerChris Feng <chris.w.feng@gmail.com>2015-08-03T12·26+0800
commit86764d27a333be53336cf2e38d237c7bfa218e7b (patch)
tree7b9c53238a35cd8f8be42d153841dc66f795035c /exwm.el
parentf4416a10e3f87ceddc70ae02f065f14c5e6dc3fd (diff)
Add basic RandR support
This implementation is analogous to that in i3-wm, which requires external
tools to properly configure RandR first.
Diffstat (limited to 'exwm.el')
-rw-r--r--exwm.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el
index c6e005976f28..a38744fa1d7d 100644
--- a/exwm.el
+++ b/exwm.el
@@ -125,7 +125,6 @@
 ;; XEmacs, though it seems nobody have ever got it working on GNU Emacs.
 
 ;; Todo:
-;; + Add RandR support.
 ;; + Investigate DnD support (e.g. drag a chromium tab to another window).
 ;; + Auto hide minibuffer, or allow users to place it elsewhere.
 ;; + Add system tray support.
@@ -145,6 +144,7 @@
 (require 'exwm-floating)
 (require 'exwm-manage)
 (require 'exwm-input)
+(require 'exwm-randr)
 
 (defvar exwm-debug-on nil "Non-nil to turn on debug for EXWM.")
 
@@ -618,6 +618,7 @@
         (exwm-floating--init)
         (exwm-manage--init)
         (exwm-input--init)
+        (exwm-randr--init)
         (exwm--unlock)
         ;; Disable events during new frame creation
         (add-hook 'before-make-frame-hook 'exwm--lock)