about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-03-06T00·00+0000
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-03-06T00·00+0000
commita2b6cfb8787fc6388e7129de3620c2e5d910fb4e (patch)
treeefc3c40544619d2880692fd0f3f3a932425760e3
parenta51be88c1e9affde23ce06069e338bf3f62e26db (diff)
* exwm.el (exwm--exit): Drop SubstructureRedirect on root window.
-rw-r--r--exwm.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el
index f80af0511424..eeafd0ba37e3 100644
--- a/exwm.el
+++ b/exwm.el
@@ -743,7 +743,11 @@
   (exwm-workspace--exit)
   (exwm-floating--exit)
   (exwm-layout--exit)
-  (exwm--exit-icccm-ewmh))
+  (exwm--exit-icccm-ewmh)
+  (xcb:+request-checked+request-check exwm--connection
+      (make-instance 'xcb:ChangeWindowAttributes
+                     :window exwm--root :value-mask xcb:CW:EventMask
+                     :event-mask xcb:EventMask:NoEvent)))
 
 (defun exwm-enable (&optional undo)
   "Enable/Disable EXWM."