summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init-spw.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el
index cc3de4b8..a250673b 100644
--- a/.emacs.d/init-spw.el
+++ b/.emacs.d/init-spw.el
@@ -153,7 +153,8 @@ add places the library might be available to `load-path'."
(when (member (getenv "DESKTOP_SESSION") '("i3"))
(setq mouse-autoselect-window t
- focus-follows-mouse t)
+ focus-follows-mouse t
+ desktop-restore-forces-onscreen nil)
;; disable `mouse-autoselect-window' during `display-buffer', to avoid
;; surprise focus changes -- some code that calls `display-buffer'