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();
/> Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe