From a62ed5bbac9a9056d01dd5ce4eb78b8b79999414 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 14 Nov 2024 11:03:22 +0100 Subject: xA/xM: refresh buffer list on dehighlight --- xA/xA.go | 1 + xM/main.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/xA/xA.go b/xA/xA.go index 5bd3975..495dfd5 100644 --- a/xA/xA.go +++ b/xA/xA.go @@ -1499,6 +1499,7 @@ func main() { if b := bufferByName(bufferCurrent); b != nil { b.highlighted = false refreshIcon() + refreshBufferList() } }) a.Lifecycle().SetOnExitedForeground(func() { diff --git a/xM/main.swift b/xM/main.swift index 91e3499..e6f9648 100644 --- a/xM/main.swift +++ b/xM/main.swift @@ -1203,6 +1203,7 @@ class WindowDelegate: NSObject, NSWindowDelegate { b.highlighted = false refreshIcon() + refreshBufferList() } // Buffer indexes rotated to start after the current buffer. -- cgit v1.2.3-70-g09d2