summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/init.el b/init.el
index 599492f..5c1250b 100644
--- a/init.el
+++ b/init.el
@@ -1313,14 +1313,15 @@
:config (jao-afio-setup (not window-system)))
(defun jao-current--frame-id ()
- (propertize (if (and (jao-exwm-enabled-p)
- (not (bound-and-true-p jao-exwm--use-afio)))
- (format "F%s" exwm-workspace-current-index)
- (format "%s" (jao-afio-frame-no)))
+ (propertize (cond ((and (jao-exwm-enabled-p)
+ (not (bound-and-true-p jao-exwm--use-afio)))
+ (format "F%s" exwm-workspace-current-index))
+ (jao-afio-use-frames (jao-afio-frame-name))
+ (t (format "%s" (jao-afio-frame-no))))
'face 'font-lock-warning-face))
-(add-hook 'jao-afio-switch-hook #'tracking-remove-visible-buffers)
(jao-minibuffer-add-variable '(jao-current--frame-id) 100)
+(add-hook 'jao-afio-switch-hook 'jao-minibuffer-refresh t)
(defun jao-afio--set-mode-line ()
(when (and window-system (fboundp 'jao-mode-line-hide-inactive))