about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-20 16:12:02 -0400
committerJune McEnroe <june@causal.agency>2020-04-20 16:12:02 -0400
commita632ee741b1baa0eeb336cb56c698cf5c7e5e22d (patch)
tree4919e4c22ea6129e03acf0e793ca1b3ae51ac522
parentSave last user-selected window to switch back to from M-a (diff)
downloadcatgirl-a632ee741b1baa0eeb336cb56c698cf5c7e5e22d.tar.gz
catgirl-a632ee741b1baa0eeb336cb56c698cf5c7e5e22d.zip
Don't clobber windows.swap in else of showAuto
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 53e4a19..cdb2883 100644
--- a/ui.c
+++ b/ui.c
@@ -901,7 +901,7 @@ static void showAuto(void) {
 	} else if (minWarm < UINT_MAX) {
 		windowShow(numWarm);
 		windows.user = user;
-	} else {
+	} else if (user != windows.show) {
 		windowShow(user);
 	}
 }