diff options
Diffstat (limited to 'exwm-core.el')
-rw-r--r-- | exwm-core.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/exwm-core.el b/exwm-core.el index b0f3ab603c29..ec3efc6e5760 100644 --- a/exwm-core.el +++ b/exwm-core.el @@ -86,9 +86,10 @@ least SECS seconds later." ,function ,@args)) -(defconst exwm--client-event-mask - (eval-when-compile - (logior xcb:EventMask:StructureNotify xcb:EventMask:PropertyChange)) +(defconst exwm--client-event-mask (logior xcb:EventMask:StructureNotify + xcb:EventMask:PropertyChange + (if mouse-autoselect-window + xcb:EventMask:EnterWindow 0)) "Event mask set on all managed windows.") (defvar exwm-input-line-mode-passthrough) |