mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
opt: not trigger tagin animaiton when view to current tag
This commit is contained in:
parent
1a174b1828
commit
284197be0b
1 changed files with 4 additions and 4 deletions
|
|
@ -1725,7 +1725,7 @@ arrange(Monitor *m, bool want_animation) {
|
|||
|
||||
} else {
|
||||
if ((c->tags & (1 << (selmon->pertag->prevtag - 1))) &&
|
||||
want_animation && m->pertag->prevtag != 0 &&
|
||||
m->pertag->prevtag != 0 &&
|
||||
m->pertag->curtag != 0 && animations) {
|
||||
c->animation.tagouting = true;
|
||||
c->animation.tagining = false;
|
||||
|
|
@ -6745,9 +6745,9 @@ void view_in_mon(const Arg *arg, bool want_animation, Monitor *m) {
|
|||
if (arg->ui == 0)
|
||||
return;
|
||||
|
||||
// if ((m->tagset[m->seltags] & arg->ui & TAGMASK) != 0) {
|
||||
// want_animation = false;
|
||||
// }
|
||||
if ((m->tagset[m->seltags] & arg->ui & TAGMASK) != 0) {
|
||||
want_animation = false;
|
||||
}
|
||||
|
||||
m->seltags ^= 1; /* toggle sel tagset */
|
||||
if (arg->ui & TAGMASK) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue