mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 13:07:59 +01:00
Exclude unmanaged floating X windows when refreshing
* exwm-layout.el (exwm-layout--refresh): Do not show unmanaged floating X windows.
This commit is contained in:
parent
c8c0bc7b60
commit
3cef44a6ca
1 changed files with 4 additions and 2 deletions
|
@ -258,8 +258,10 @@
|
|||
(when (eq major-mode 'exwm-mode)
|
||||
(let ((window (frame-first-window frame)))
|
||||
(with-current-buffer (window-buffer window)
|
||||
;; It may be a buffer waiting to be killed.
|
||||
(when (exwm--id->buffer exwm--id)
|
||||
(exwm--log "Refresh floating window #x%x" exwm--id)
|
||||
(exwm-layout--show exwm--id window))))
|
||||
(exwm-layout--show exwm--id window)))))
|
||||
;; Other frames (e.g. terminal/graphical frame of emacsclient)
|
||||
;; We shall bury all `exwm-mode' buffers in this case
|
||||
(setq windows (window-list frame 0)) ;exclude minibuffer
|
||||
|
|
Loading…
Reference in a new issue