Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix crash on client termination - tabbed - tab interface for application suppor…
git clone git://git.suckless.org/tabbed
Log
Files
Refs
README
LICENSE
---
commit 0214014fbedb905b5d09e2916e831d47f534d992
parent e68297ed05c989f204a5e074e7528ee105067160
Author: Gregor Best <[email protected]>
Date: Tue, 21 Jan 2014 19:18:00 +0100
Fix crash on client termination
Signed-off-by: Gregor Best <[email protected]>
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M tabbed.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/tabbed.c b/tabbed.c
@@ -1094,6 +1094,7 @@ unmanage(int c) {
} else if(lastsel > c) {
lastsel--;
}
+ lastsel = MIN(lastsel, nclients - 1);
if(c == sel) {
/* Note that focus() will never set lastsel == sel,
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.