fix(3p/exwm): Fix frame focus for Emacs 29
See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58438 for more
details
Depot note: Commit is from
4096d18eea
Change-Id: I4e101533209c35c6f55f14512cc420f007b9da53
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10185
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
parent
3a6da21189
commit
3d2d5837ad
1 changed files with 3 additions and 0 deletions
3
third_party/exwm/exwm.el
vendored
3
third_party/exwm/exwm.el
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue