mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 11:47:58 +01:00
Fix layout being refreshed too often on minibuffer setup
The guard clause was refacored incorrectly, leading to it having no effect on the intended forms. * exwm-layout.el (exwm-layout--on-minibuffer-setup): Guard `exwm-layout--refresh' again.
This commit is contained in:
parent
fb73aaaf8f
commit
c7d1fd45bc
1 changed files with 2 additions and 2 deletions
|
@ -408,8 +408,8 @@ selected by `other-buffer'."
|
|||
(frame (window-frame mini-window)))
|
||||
(when (exwm-workspace--workspace-p frame)
|
||||
(exwm--defer 0 (lambda ()
|
||||
(when (< 1 (window-height mini-window)))
|
||||
(exwm-layout--refresh frame))))))
|
||||
(when (< 1 (window-height mini-window))
|
||||
(exwm-layout--refresh frame)))))))
|
||||
|
||||
(defun exwm-layout--on-echo-area-change (&optional dirty)
|
||||
"Run when message arrives or in `echo-area-clear-hook' to refresh layout."
|
||||
|
|
Loading…
Reference in a new issue