diff options
author | Vincent Ambo <tazjin@tvl.su> | 2023-11-03T15·52+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-11-04T20·02+0000 |
commit | 829bc9b932b0166728378c635b4fabcd53ffe22e (patch) | |
tree | 6e2d67f217040e7fd95c4a6a8d239a0f58a334a5 | |
parent | 6cec663aa164a4c419a9f0d999d8861ae84ee80b (diff) |
fix(3p/exwm): port fix for exwm#759 r/6941
exwm#759 is a long-standing EXWM bug around window focus being incorrectly assigned when switching frames. There's a mysterious fix in the comments of that issue, which some people (e.g. ezemtsov) apparently use successfully for a long time. I'm tired of this bug, and want to try this fix. There's no actual open PR with this fix, and there's no comments from the maintainer on this yet, so this commit can be considered experimental. Change-Id: I9412c004132d0cbe359f987c8c1e0773e625a429 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9912 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
-rw-r--r-- | third_party/exwm/exwm-layout.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/exwm/exwm-layout.el b/third_party/exwm/exwm-layout.el index e47620de3b05..119431aa8a9b 100644 --- a/third_party/exwm/exwm-layout.el +++ b/third_party/exwm/exwm-layout.el @@ -207,7 +207,8 @@ See variable `exwm-layout-auto-iconify'." xcb:ConfigWindow:StackMode) :border-width 0 :stack-mode xcb:StackMode:Above)) - (cl-pushnew xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state) + ;; commented out to work around https://github.com/ch11ng/exwm/issues/759 + ;; (cl-pushnew xcb:Atom:_NET_WM_STATE_FULLSCREEN exwm--ewmh-state) (exwm-layout--set-ewmh-state exwm--id) (xcb:flush exwm--connection) (set-window-dedicated-p (get-buffer-window) t) |