aboutsummaryrefslogtreecommitdiff
path: root/xM
diff options
context:
space:
mode:
Diffstat (limited to 'xM')
-rw-r--r--xM/main.swift3
1 files changed, 2 insertions, 1 deletions
diff --git a/xM/main.swift b/xM/main.swift
index 91e3499..48f26c4 100644
--- a/xM/main.swift
+++ b/xM/main.swift
@@ -842,11 +842,11 @@ relayRPC.onEvent = { message in
b.bufferName = data.new
- refreshBufferList()
if b.bufferName == relayBufferCurrent {
relayBufferCurrent = data.new
refreshStatus()
}
+ refreshBufferList()
if b.bufferName == relayBufferLast {
relayBufferLast = data.new
}
@@ -1203,6 +1203,7 @@ class WindowDelegate: NSObject, NSWindowDelegate {
b.highlighted = false
refreshIcon()
+ refreshBufferList()
}
// Buffer indexes rotated to start after the current buffer.