summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tabbed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tabbed.c b/tabbed.c
index 3d85f03..a76c2a8 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -1010,6 +1010,7 @@ unmanage(int c) {
focus(lastsel);
} else {
focus(0);
+ lastsel = 1;
}
} else {
if(sel > c)