diff options
author | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2023-08-18T00·00+0000 |
---|---|---|
committer | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2023-08-18T00·00+0000 |
commit | c7d1fd45bcf586e4b62daa94662dfe529cb04ac9 (patch) | |
tree | 142abea1fe257a8df7c8df536aff25f4ea1a09bd /exwm-layout.el | |
parent | fb73aaaf8f67e601c41555262c46a29171ccbc6a (diff) |
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.
Diffstat (limited to 'exwm-layout.el')
-rw-r--r-- | exwm-layout.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exwm-layout.el b/exwm-layout.el index 56668186ef93..d785a71f5e90 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -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." |