commit 4ed0a2da67f742cfb75f85fc02f703e21a0206d6 Author: Christoph Lohmann <[email protected]> Date: Sun Jan 26 18:52:53 2014 +0100
The check for a minimal new lastsel is not needed anymore.
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,
