about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2015-11-02T03·19+0800
committerChris Feng <chris.w.feng@gmail.com>2015-11-02T03·19+0800
commit7ee6d48a358b6d00cba77ad934dc431bbdd833c8 (patch)
treeb2e75a1fdd3b79564b66207a53ba66a82a3fe8c6
parent9ee1c9bb175b164c7146cdf51ab91642d08a3ed9 (diff)
Disable some incompatible features
* exwm.el (exwm-init):
  exwm-config.el (exwm-config-misc):
  Disable dialog boxes and hourglass pointer by default.
-rw-r--r--exwm-config.el4
-rw-r--r--exwm.el3
2 files changed, 4 insertions, 3 deletions
diff --git a/exwm-config.el b/exwm-config.el
index 7f02303e23..bf3fd2ffbb 100644
--- a/exwm-config.el
+++ b/exwm-config.el
@@ -90,9 +90,7 @@
   (menu-bar-mode -1)
   (tool-bar-mode -1)
   (scroll-bar-mode -1)
-  (fringe-mode 1)
-  ;; Disable dialog boxes
-  (setq use-dialog-box nil))
+  (fringe-mode 1))
 
 
 
diff --git a/exwm.el b/exwm.el
index ba71e32ab6..fb4e47040b 100644
--- a/exwm.el
+++ b/exwm.el
@@ -500,6 +500,9 @@
           (progn (xcb:disconnect exwm--connection)
                  (setq exwm--connection nil)
                  (exwm--log "Other window manager detected"))
+        ;; Disable some features not working well with EXWM
+        (setq use-dialog-box nil
+              display-hourglass nil)
         ;; Initialize ICCCM/EWMH support
         ;; (xcb:icccm:init exwm--connection)
         (xcb:ewmh:init exwm--connection)