From bc4aafec1683a27209aec33f44c3947e169860c6 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Fri, 26 Feb 2016 09:24:15 +0800 Subject: 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. --- exwm-layout.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'exwm-layout.el') diff --git a/exwm-layout.el b/exwm-layout.el index c9146de3714e..09428da4bbf4 100644 --- a/exwm-layout.el +++ b/exwm-layout.el @@ -455,7 +455,8 @@ See also `exwm-layout-enlarge-window'." (window-mode-line-height (frame-root-window exwm--floating-frame))) nil t) - (exwm-input-grab-keyboard)))) + (exwm-input-grab-keyboard)) + (force-mode-line-update))) ;;;###autoload (defun exwm-layout-toggle-mode-line () -- cgit 1.4.1