summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2020-04-20 16:12:02 -0400
committerC. McEnroe2020-04-20 16:12:02 -0400
commita632ee741b1baa0eeb336cb56c698cf5c7e5e22d (patch)
tree4919e4c22ea6129e03acf0e793ca1b3ae51ac522
parent2f5ff45db0d7114524b579e8e0c8bf7e5752b185 (diff)
Don't clobber windows.swap in else of showAuto
-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);
 	}
 }