aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2014-01-26 18:52:53 +0100
committerChristoph Lohmann <20h@r-36.net>2014-01-26 18:52:53 +0100
commit4ed0a2da67f742cfb75f85fc02f703e21a0206d6 (patch)
treee7e194932fd60120464e0c0042ec396618cccf27
parent4b2dfb110f4c2698ab27ea6ad2f6f2e914631b9f (diff)
The check for a minimal new lastsel is not needed anymore.
-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,