diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 82e81bf..9fa50ec 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -1257,7 +1257,7 @@ one. The ignored buffers are excluded unless `aw-ignore-on' is nil." (t "")))) (if (and (< 0 (length num)) (< (if (active-minibuffer-window) 2 1) - (length (window-list)))) + (length (cl-mapcan #'window-list (visible-frame-list))))) (propertize (format " %s " num) 'face (if (doom-modeline--active) 'doom-modeline-buffer-major-mode diff --git a/doom-modeline.el b/doom-modeline.el index 619ed1a..b9187ce 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -4,7 +4,7 @@ ;; Author: Vincent Zhang ;; Homepage: https://github.com/seagle0128/doom-modeline -;; Version: 2.1.1 +;; Version: 2.1.2 ;; Package-Requires: ((emacs "25.1") (all-the-icons "1.0.0") (shrink-path "0.2.0") (dash "2.11.0")) ;; Keywords: faces mode-line