diff options
Diffstat (limited to 'exwm-core.el')
-rw-r--r-- | exwm-core.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/exwm-core.el b/exwm-core.el index 0f39c2d344e8..1ac867865988 100644 --- a/exwm-core.el +++ b/exwm-core.el @@ -69,12 +69,14 @@ (make-instance 'xcb:ChangeWindowAttributes :window exwm--root :value-mask xcb:CW:EventMask - :event-mask (logior xcb:EventMask:StructureNotify - xcb:EventMask:SubstructureRedirect))) + :event-mask (eval-when-compile + (logior xcb:EventMask:SubstructureRedirect + xcb:EventMask:StructureNotify)))) (xcb:flush exwm--connection)) (defconst exwm--client-event-mask - (logior xcb:EventMask:StructureNotify xcb:EventMask:PropertyChange) + (eval-when-compile + (logior xcb:EventMask:StructureNotify xcb:EventMask:PropertyChange)) "Event mask set on all managed windows.") ;; Internal variables |