mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-03 09:01:47 -05:00
opt: optimize auto_back_tag toggle logic
This commit is contained in:
parent
62a569d756
commit
3548e23e32
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ void bind_to_view(const Arg *arg) {
|
|||
unsigned int target = arg->ui;
|
||||
|
||||
if (selmon->pertag->curtag &&
|
||||
target == (1 << (selmon->pertag->curtag - 1))) {
|
||||
(target & TAGMASK) == (selmon->tagset[selmon->seltags])) {
|
||||
if (selmon->pertag->prevtag)
|
||||
target = 1 << (selmon->pertag->prevtag - 1);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue