summaryrefslogtreecommitdiffstats
path: root/tabbed.1
diff options
context:
space:
mode:
authorAlexander Sedov <alex0player@gmail.com>2013-07-29 11:11:33 +0400
committerChristoph Lohmann <20h@r-36.net>2013-10-10 18:45:19 +0200
commit14beaabe6ccbdf12546f31edf931e30cbe9c0c82 (patch)
tree1b2f4ee8041456f37a3ee50f398788ce3ba2019d /tabbed.1
parent361ddc85d506c058562ccba7c68370d49733c928 (diff)
downloadtabbed-14beaabe6ccbdf12546f31edf931e30cbe9c0c82.tar.gz
Fixed obscure miscalculation when a client is closed.
This crops up whenever you just switched from tab # N+1 to tab # N and close current tab. unmanage() first decreases lastsel (so it becomes N) then erroneously tests it against sel and focuses first tab instead. One can see that focus() would never set lastsel == sel, so I took liberty to fix this annoying behaviour which happens to frequently with newposition = 0 and npisrelative = True settings. Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'tabbed.1')
0 files changed, 0 insertions, 0 deletions