mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-30 11:11:14 -04:00
fix: exit scroller stack before stack
This commit is contained in:
parent
d7a72ce680
commit
39d2793e49
2 changed files with 2 additions and 0 deletions
|
|
@ -1096,6 +1096,7 @@ int32_t tagsilent(const Arg *arg) {
|
||||||
clear_fullscreen_flag(fc);
|
clear_fullscreen_flag(fc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
exit_scroller_stack(target_client);
|
||||||
focusclient(focustop(selmon), 1);
|
focusclient(focustop(selmon), 1);
|
||||||
arrange(target_client->mon, false, false);
|
arrange(target_client->mon, false, false);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
|
|
@ -5319,6 +5319,7 @@ void tag_client(const Arg *arg, Client *target_client) {
|
||||||
Client *fc = NULL;
|
Client *fc = NULL;
|
||||||
if (target_client && arg->ui & TAGMASK) {
|
if (target_client && arg->ui & TAGMASK) {
|
||||||
|
|
||||||
|
exit_scroller_stack(target_client);
|
||||||
target_client->tags = arg->ui & TAGMASK;
|
target_client->tags = arg->ui & TAGMASK;
|
||||||
target_client->istagswitching = 1;
|
target_client->istagswitching = 1;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue