mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: do noting when view same tag widht view_current_to_back disalbed
This commit is contained in:
parent
3547e567cb
commit
3af325fef7
1 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,11 @@ int bind_to_view(const Arg *arg) {
|
|||
target = 0;
|
||||
}
|
||||
|
||||
if (!view_current_to_back &&
|
||||
(target & TAGMASK) == (selmon->tagset[selmon->seltags])) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((int)target == INT_MIN && selmon->pertag->curtag == 0) {
|
||||
if (view_current_to_back && selmon->pertag->prevtag)
|
||||
target = 1 << (selmon->pertag->prevtag - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue