Minor fixes for layout and workspace
* exwm-layout.el (exwm-layout-show-mode-line): Force update mode-line. * exwm-workspace.el (exwm-workspace--update-minibuffer): Treat nil as empty string.
This commit is contained in:
parent
84a9041b20
commit
bc4aafec16
2 changed files with 3 additions and 2 deletions
|
@ -455,7 +455,8 @@ See also `exwm-layout-enlarge-window'."
|
||||||
(window-mode-line-height (frame-root-window
|
(window-mode-line-height (frame-root-window
|
||||||
exwm--floating-frame)))
|
exwm--floating-frame)))
|
||||||
nil t)
|
nil t)
|
||||||
(exwm-input-grab-keyboard))))
|
(exwm-input-grab-keyboard))
|
||||||
|
(force-mode-line-update)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun exwm-layout-toggle-mode-line ()
|
(defun exwm-layout-toggle-mode-line ()
|
||||||
|
|
|
@ -453,7 +453,7 @@ The optional FORCE option is for internal use only."
|
||||||
(setq result
|
(setq result
|
||||||
(+ result
|
(+ result
|
||||||
(ceiling (1+ (length i)) width))))
|
(ceiling (1+ (length i)) width))))
|
||||||
(split-string (current-message) "\n"))
|
(split-string (or (current-message) "") "\n"))
|
||||||
result)
|
result)
|
||||||
(count-screen-lines))))))
|
(count-screen-lines))))))
|
||||||
(when (and (integerp max-mini-window-height)
|
(when (and (integerp max-mini-window-height)
|
||||||
|
|
Loading…
Reference in a new issue