summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index b1eedaf..2fbb720 100644
--- a/ui.c
+++ b/ui.c
@@ -797,6 +797,7 @@ static void windowClose(size_t num) {
 	if (windows.swap >= num) windows.swap--;
 	if (windows.show == num) {
 		windowShow(windows.swap);
+		windows.swap = windows.show;
 	} else if (windows.show > num) {
 		windows.show--;
 	}
:02 -0400'>2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe