about summary refs log tree commit diff
path: root/exwm-floating.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2019-03-17T00·00+0000
committerChris Feng <chris.w.feng@gmail.com>2019-03-17T00·00+0000
commit397ca5497e82168b0de1cac9a2204dc695b1de5a (patch)
treeab3bd6d087d08f3dbf22f608cab7bcf3ecf59670 /exwm-floating.el
parentdd96fffb52a4e7e5b506b28881b518b0359375c4 (diff)
Remove loading order dependency on `mouse-autoselect-window'
* exwm-core.el (exwm--get-client-event-mask): Renamed from
`exwm--client-event-mask' and used as a function.
* exwm-floating.el (exwm-floating--unset-floating):
* exwm-layout.el (exwm-layout--hide):
* exwm-manage.el (exwm-manage--manage-window): Use it.
Diffstat (limited to 'exwm-floating.el')
-rw-r--r--exwm-floating.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-floating.el b/exwm-floating.el
index b7430d719e17..7ac2c2714b35 100644
--- a/exwm-floating.el
+++ b/exwm-floating.el
@@ -342,7 +342,7 @@ This is also used by X window containers.")
         (xcb:+request exwm--connection
             (make-instance 'xcb:ChangeWindowAttributes
                            :window id :value-mask xcb:CW:EventMask
-                           :event-mask exwm--client-event-mask))
+                           :event-mask (exwm--get-client-event-mask)))
         ;; Reparent the floating frame back to the root window.
         (let ((frame-id (frame-parameter exwm--floating-frame 'exwm-outer-id))
               (frame-container (frame-parameter exwm--floating-frame