Fix multi-screen bugs

* RandR module is now made optional; users can enable it with
  `exwm-randr-enable`.
* Correct the calculation of sizes/coordinates at various places.
* Input focus is now tracked with (Emacs) window instead of buffer since the
  latter can be ambiguous in multi-screen settings.
This commit is contained in:
Chris Feng 2015-08-13 12:02:44 +08:00
parent 35560a49d6
commit 07e59e0429
6 changed files with 54 additions and 30 deletions

View file

@ -144,7 +144,6 @@
(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.")
@ -616,7 +615,6 @@
(exwm-floating--init)
(exwm-manage--init)
(exwm-input--init)
(exwm-randr--init)
(exwm--unlock)
;; Manage exiting windows
(exwm-manage--scan)