~kris/suckless

tabbed

0728caee306423cd1dc139e000828329c9285ab7 — Markus Teich 11 years ago c2ce9be
fix bug in unmanage: check if lastsel is initialized

Signed-off-by: Christoph Lohmann <20h@r-36.net>
1 files changed, 1 insertions(+), 1 deletions(-)

M tabbed.c
M tabbed.c => tabbed.c +1 -1
@@ 1125,7 1125,7 @@ unmanage(int c) {
			lastsel--;
		}

		if(c == sel) {
		if(c == sel && lastsel >= 0) {
			focus(lastsel);
		} else {
			if(sel > c)