mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 19:47:58 +01:00
Allow panel to hide floating X windows
* exwm.el (exwm--on-ClientMessage): Use `exwm-floating-hide' to hide X windows on receiving `WM_CHANGE_STATE' events.
This commit is contained in:
parent
aa92c7be8c
commit
605b0a9575
1 changed files with 3 additions and 1 deletions
4
exwm.el
4
exwm.el
|
@ -555,7 +555,9 @@
|
||||||
(when (and (buffer-live-p buffer)
|
(when (and (buffer-live-p buffer)
|
||||||
(= (elt data 0) xcb:icccm:WM_STATE:IconicState))
|
(= (elt data 0) xcb:icccm:WM_STATE:IconicState))
|
||||||
(with-current-buffer buffer
|
(with-current-buffer buffer
|
||||||
(bury-buffer)))))
|
(if exwm--floating-frame
|
||||||
|
(call-interactively #'exwm-floating-hide)
|
||||||
|
(bury-buffer))))))
|
||||||
(t
|
(t
|
||||||
(exwm--log "Unhandled: %s(%d)"
|
(exwm--log "Unhandled: %s(%d)"
|
||||||
(x-get-atom-name type exwm-workspace--current) type)))))
|
(x-get-atom-name type exwm-workspace--current) type)))))
|
||||||
|
|
Loading…
Reference in a new issue