about summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index f44073a..e75e0eb 100644
--- a/ui.c
+++ b/ui.c
@@ -772,10 +772,10 @@ static void inputUpdate(void) {
 static void windowShow(uint num) {
 	if (num != windows.show) {
 		windows.swap = windows.show;
+		mark(windows.ptrs[windows.swap]);
 	}
 	windows.show = num;
 	windows.user = num;
-	mark(windows.ptrs[windows.swap]);
 	unmark(windows.ptrs[windows.show]);
 	mainUpdate();
 	inputUpdate();
EADME.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe