The check for a minimal new lastsel is not needed anymore. - tabbed - tab interface for application supporting Xembed
HTML git clone git://git.suckless.org/tabbed
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4ed0a2da67f742cfb75f85fc02f703e21a0206d6
DIR parent 4b2dfb110f4c2698ab27ea6ad2f6f2e914631b9f
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 26 Jan 2014 18:52:53 +0100
The check for a minimal new lastsel is not needed anymore.
Diffstat:
M tabbed.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
DIR diff --git 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,