Also skip marking swap window

Third time's the charm?
weechat-hashes
C. McEnroe 2021-01-31 15:33:41 -05:00
parent beeddcb11f
commit 32bf43660f
1 changed files with 1 additions and 1 deletions

2
ui.c
View File

@ -772,10 +772,10 @@ static void inputUpdate(void) {
static void windowShow(uint num) { static void windowShow(uint num) {
if (num != windows.show) { if (num != windows.show) {
windows.swap = windows.show; windows.swap = windows.show;
mark(windows.ptrs[windows.swap]);
} }
windows.show = num; windows.show = num;
windows.user = num; windows.user = num;
mark(windows.ptrs[windows.swap]);
unmark(windows.ptrs[windows.show]); unmark(windows.ptrs[windows.show]);
mainUpdate(); mainUpdate();
inputUpdate(); inputUpdate();