about summary refs log tree commit diff
path: root/third_party/emacs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-01-09T15·10+0300
committertazjin <mail@tazj.in>2021-01-09T15·30+0000
commit51a80c2e9d497926ce7d7e27c14699a24a2a1c6c (patch)
tree7fa92dd579bc7f9daba0a24bd84fac40cce441f0 /third_party/emacs
parent88bf43878f243ca0276da4a21aa6a00a6a0dbc3c (diff)
fix(3p/exwm): Work around Chrome input focus issue r/2066
In recent Chrome versions, EXWM has some issue around handing focus
back to the application. There is a Github issue about this and this
commit implements the suggested workaround, which I've verified
locally.

Change-Id: Ib451e8d8b34921665c3015853850d12e04612929
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2342
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/emacs')
-rw-r--r--third_party/emacs/exwm/exwm-layout.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/emacs/exwm/exwm-layout.el b/third_party/emacs/exwm/exwm-layout.el
index 79d0c95bcd..07912a7062 100644
--- a/third_party/emacs/exwm/exwm-layout.el
+++ b/third_party/emacs/exwm/exwm-layout.el
@@ -179,7 +179,8 @@
                          :window id :value-mask xcb:CW:EventMask
                          :event-mask (exwm--get-client-event-mask)))
       (exwm-layout--set-state id xcb:icccm:WM_STATE:IconicState)
-      (cl-pushnew xcb:Atom:_NET_WM_STATE_HIDDEN exwm--ewmh-state)
+      ;; Temporarily commented out because of https://github.com/ch11ng/exwm/issues/759
+      ;; (cl-pushnew xcb:Atom:_NET_WM_STATE_HIDDEN exwm--ewmh-state)
       (exwm-layout--set-ewmh-state id)
       (exwm-layout--auto-iconify)
       (xcb:flush exwm--connection))))