[hackers] [tabbed] The check for a minimal new lastsel is not needed anymore. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Sun, 26 Jan 2014 18:56:35 +0100

commit 4ed0a2da67f742cfb75f85fc02f703e21a0206d6
Author: Christoph Lohmann <20h_AT_r-36.net>
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
_AT_@ -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,
Received on Sun Jan 26 2014 - 18:56:35 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 26 2014 - 19:00:11 CET