aboutsummaryrefslogtreecommitdiff
path: root/tabbed.c
diff options
context:
space:
mode:
Diffstat (limited to 'tabbed.c')
-rw-r--r--tabbed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tabbed.c b/tabbed.c
index 5bc2b53..f5850ed 100644
--- a/tabbed.c
+++ b/tabbed.c
@@ -1094,7 +1094,6 @@ unmanage(int c) {
} else if(lastsel > c) {
lastsel--;
}
- lastsel = MIN(lastsel, nclients - 1);
if(c == sel) {
/* Note that focus() will never set lastsel == sel,