emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm bc4aafe: Minor fixes for layout and workspace


From: Chris Feng
Subject: [elpa] externals/exwm bc4aafe: Minor fixes for layout and workspace
Date: Fri, 26 Feb 2016 01:25:35 +0000

branch: externals/exwm
commit bc4aafec1683a27209aec33f44c3947e169860c6
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

    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 ++-
 exwm-workspace.el |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/exwm-layout.el b/exwm-layout.el
index c9146de..09428da 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 ()
diff --git a/exwm-workspace.el b/exwm-workspace.el
index 8230bd7..283b384 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -453,7 +453,7 @@ The optional FORCE option is for internal use only."
                               (setq result
                                     (+ result
                                        (ceiling (1+ (length i)) width))))
-                            (split-string (current-message) "\n"))
+                            (split-string (or (current-message) "") "\n"))
                       result)
                   (count-screen-lines))))))
     (when (and (integerp max-mini-window-height)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]