about summary refs log tree commit diff
path: root/third_party/exwm
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-11-03T15·52+0300
committertazjin <tazjin@tvl.su>2023-11-04T20·02+0000
commit829bc9b932b0166728378c635b4fabcd53ffe22e (patch)
tree6e2d67f217040e7fd95c4a6a8d239a0f58a334a5 /third_party/exwm
parent6cec663aa164a4c419a9f0d999d8861ae84ee80b (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>
Diffstat (limited to 'third_party/exwm')
-rw-r--r--third_party/exwm/exwm-layout.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/exwm/exwm-layout.el b/third_party/exwm/exwm-layout.el
index e47620de3b..119431aa8a 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)