We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c71b43 commit b449558Copy full SHA for b449558
doom-modeline-segments.el
@@ -1364,8 +1364,14 @@ one. The ignored buffers are excluded unless `aw-ignore-on' is nil."
1364
(window-numbering-get-number-string))
1365
(t ""))))
1366
(if (and (< 0 (length num))
1367
- (< (if (active-minibuffer-window) 2 1)
1368
- (length (cl-mapcan #'window-list (visible-frame-list)))))
+ (< (if (active-minibuffer-window) 2 1) ; exclude minibuffer
+ (length (cl-mapcan
1369
+ (lambda (frame)
1370
+ ;; Exclude child frames
1371
+ (unless (and (fboundp 'frame-parent)
1372
+ (frame-parent frame))
1373
+ (window-list)))
1374
+ (visible-frame-list)))))
1375
(propertize (format " %s " num)
1376
'face (if (doom-modeline--active)
1377
'doom-modeline-buffer-major-mode
0 commit comments