about summary refs log tree commit diff
diff options
context:
space:
mode:
-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."