about summary refs log tree commit diff
path: root/exwm-layout.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-02-26T01·24+0800
committerChris Feng <chris.w.feng@gmail.com>2016-02-26T01·24+0800
commitbc4aafec1683a27209aec33f44c3947e169860c6 (patch)
tree017f4f46f350b241853ce683dcac4a1634b990c4 /exwm-layout.el
parent84a9041b20e5477fb2ce2989de9dd2583ef12773 (diff)
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.
Diffstat (limited to 'exwm-layout.el')
-rw-r--r--exwm-layout.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/exwm-layout.el b/exwm-layout.el
index c9146de371..09428da4bb 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 ()