mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-04 04:06:21 -05:00
opt: exit stack head client maximize and fullscreen state when toggle scroller stack
This commit is contained in:
parent
00f56fa3aa
commit
57d7801df2
1 changed files with 8 additions and 0 deletions
|
|
@ -1700,6 +1700,14 @@ int32_t scroller_stack(const Arg *arg) {
|
|||
c->prev_in_stack = stack_tail;
|
||||
c->next_in_stack = NULL;
|
||||
|
||||
if (stack_head->ismaximizescreen) {
|
||||
setmaximizescreen(stack_head, 0);
|
||||
}
|
||||
|
||||
if (stack_head->isfullscreen) {
|
||||
setfullscreen(stack_head, 0);
|
||||
}
|
||||
|
||||
arrange(selmon, false, false);
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue