aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-11-14 11:03:22 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-11-14 11:41:08 +0100
commita62ed5bbac9a9056d01dd5ce4eb78b8b79999414 (patch)
tree169959192180b4973c92993f100511dd0f6bd497
parent9c9776bacd19ce27948a21dd449f78e8965f58e2 (diff)
downloadxK-a62ed5bbac9a9056d01dd5ce4eb78b8b79999414.tar.gz
xK-a62ed5bbac9a9056d01dd5ce4eb78b8b79999414.tar.xz
xK-a62ed5bbac9a9056d01dd5ce4eb78b8b79999414.zip
xA/xM: refresh buffer list on dehighlight
-rw-r--r--xA/xA.go1
-rw-r--r--xM/main.swift1
2 files changed, 2 insertions, 0 deletions
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.