mirror of
https://github.com/ch11ng/exwm.git
synced 2025-04-04 18:19:40 +02:00
Workaround for #759, fixing focusing issues when switching between EXWM and emacs buffers
This commit is contained in:
parent
56db521a3e
commit
3b6a740296
1 changed files with 4 additions and 1 deletions
|
@ -182,7 +182,10 @@ See variable `exwm-layout-auto-iconify'."
|
|||
: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)
|
||||
;; Commented as a workaround to some emacs buffers not receiving
|
||||
;; focus appropriately. See also
|
||||
;; https://github.com/ch11ng/exwm/issues/759#issuecomment-692824523
|
||||
;; (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))))
|
||||
|
|
Loading…
Add table
Reference in a new issue