mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-30 13:14:45 -04:00
opt: optimize swallow in ipc action
This commit is contained in:
parent
bffa140a78
commit
aa56df474f
8 changed files with 43 additions and 30 deletions
|
|
@ -1393,11 +1393,11 @@ void resize(Client *c, struct wlr_box geo, int32_t interact) {
|
|||
c->pending = c->geom;
|
||||
}
|
||||
|
||||
if (c->swallowedby && c->animation.action == OPEN) {
|
||||
c->animainit_geom = c->swallowedby->animation.current;
|
||||
if (c->swallowing && c->animation.action == OPEN) {
|
||||
c->animainit_geom = c->swallowing->animation.current;
|
||||
}
|
||||
|
||||
if (c->swallowing) {
|
||||
if (c->swallowdby) {
|
||||
c->animainit_geom = c->geom;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue