mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-02 21:38:32 -04:00
feat: dont resize client when in overview
This commit is contained in:
parent
9e4fade55e
commit
a6a765caff
9 changed files with 446 additions and 137 deletions
|
|
@ -1743,15 +1743,18 @@ int32_t toggleoverview(const Arg *arg) {
|
|||
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (c && c->mon == selmon && !client_is_unmanaged(c) &&
|
||||
!client_is_x11_popup(c) && !c->isunglobal)
|
||||
!client_is_x11_popup(c) && !c->isunglobal) {
|
||||
c->animation.overining = true;
|
||||
overview_backup(c);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (c && c->mon == selmon && !c->iskilling &&
|
||||
!client_is_unmanaged(c) && !c->isunglobal &&
|
||||
!client_is_x11_popup(c) && client_surface(c)->mapped)
|
||||
!client_is_x11_popup(c) && client_surface(c)->mapped) {
|
||||
overview_restore(c, &(Arg){.ui = target});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue