about summary refs log tree commit diff
path: root/exwm-layout.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-layout.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-layout.el')
-rw-r--r--exwm-layout.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-layout.el b/exwm-layout.el
index 52fd08e15274..9ef516bd06b2 100644
--- a/exwm-layout.el
+++ b/exwm-layout.el
@@ -158,7 +158,7 @@
       (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)))
       (exwm-layout--set-state id xcb:icccm:WM_STATE:IconicState)
       (exwm-layout--auto-iconify)
       (xcb:flush exwm--connection))))