From 51a80c2e9d497926ce7d7e27c14699a24a2a1c6c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 9 Jan 2021 18:10:19 +0300 Subject: fix(3p/exwm): Work around Chrome input focus issue 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 --- third_party/emacs/exwm/exwm-layout.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)))) -- cgit 1.4.1