diff options
author | Manuel Giraud <manuel@ledu-giraud.fr> | 2022-10-12T08·47+0200 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-12-02T20·58+0000 |
commit | 3d2d5837adb9180e6a98f97631bae040f206d756 (patch) | |
tree | e636e2c514709b6a6bda53ff8de568d73ec082ec /third_party/exwm | |
parent | 3a6da21189a3e4d9df5891e24f968d3497cb94ba (diff) |
fix(3p/exwm): Fix frame focus for Emacs 29 r/7107
See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58438 for more details Depot note: Commit is from https://github.com/bendlas/exwm/commit/4096d18eea4355febc516907b70f57f01a81e9aa Change-Id: I4e101533209c35c6f55f14512cc420f007b9da53 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10185 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/exwm')
-rw-r--r-- | third_party/exwm/exwm.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/exwm/exwm.el b/third_party/exwm/exwm.el index 57455337202b..4870d4bc4287 100644 --- a/third_party/exwm/exwm.el +++ b/third_party/exwm/exwm.el @@ -482,6 +482,9 @@ RAW-DATA contains unmarshalled ClientMessage event data." (exwm-workspace-switch (elt data 0))) ;; _NET_ACTIVE_WINDOW. ((= type xcb:Atom:_NET_ACTIVE_WINDOW) + (dolist (f exwm-workspace--list) + (when (eq id (frame-parameter f 'exwm-outer-id)) + (x-focus-frame f t))) (let ((buffer (exwm--id->buffer id)) iconic window) (if (buffer-live-p buffer) |