tabbed

Simple tabbing application for X11.
git clone git://r-36.net/tabbed
Log | Files | Refs | README | LICENSE

commit 0728caee306423cd1dc139e000828329c9285ab7
parent c2ce9be47170115a7fa301cc6e93da63847fb860
Author: Markus Teich <markus.teich@stusta.mhn.de>
Date:   Tue, 10 Mar 2015 11:29:43 +0100

fix bug in unmanage: check if lastsel is initialized

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
tabbed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tabbed.c b/tabbed.c @@ -1125,7 +1125,7 @@ unmanage(int c) { lastsel--; } - if(c == sel) { + if(c == sel && lastsel >= 0) { focus(lastsel); } else { if(sel > c)