From e4b3fa4a00761b6644ecf28ae64138a82bddb07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Marks?= Date: Sat, 21 Feb 2026 14:37:11 -0500 Subject: [PATCH] Unify tab-bar with window/frame times (bug#80465) Change 'float-time' to 'window-use-time'. One step closer to "recent" tab selection across all frames with unified pseudo clocks. * lisp/tab-bar.el (tab-bar--tab): Use 'window-use-time'. (tab-bar--current-tab-make): Add time property. --- lisp/tab-bar.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 4cc090bca94..9e977abcb80 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -1504,7 +1504,7 @@ be scaled for display on the current frame." (funcall tab-bar-tab-name-function))) (explicit-name . ,tab-explicit-name) ,@(if tab-group `((group . ,tab-group))) - (time . ,(float-time)) + (time . ,(window-use-time)) (ws . ,(window-state-get (frame-root-window (or frame (selected-frame))) 'writable)) (wc . ,(current-window-configuration)) @@ -1547,6 +1547,7 @@ inherits the current tab's `explicit-name' parameter." (funcall tab-bar-tab-name-function))) (explicit-name . ,tab-explicit-name) ,@(if tab-group `((group . ,tab-group))) + (time . ,(window-use-time)) ;; Copy other possible parameters ,@(mapcan (lambda (param) (unless (memq (car param)