mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: Sometimes the window flashes when reresizing when there is no animation
This commit is contained in:
parent
107c717d9f
commit
a59b1040e4
1 changed files with 1 additions and 1 deletions
|
|
@ -5672,7 +5672,7 @@ void resize(Client *c, struct wlr_box geo, int interact) {
|
||||||
c->configure_serial = client_set_size(c, c->geom.width - 2 * c->bw,
|
c->configure_serial = client_set_size(c, c->geom.width - 2 * c->bw,
|
||||||
c->geom.height - 2 * c->bw);
|
c->geom.height - 2 * c->bw);
|
||||||
|
|
||||||
if (c == grabc) {
|
if (!animations || c == grabc) {
|
||||||
c->animation.running = false;
|
c->animation.running = false;
|
||||||
c->need_output_flush = false;
|
c->need_output_flush = false;
|
||||||
c->animainit_geom = c->current = c->pending = c->animation.current =
|
c->animainit_geom = c->current = c->pending = c->animation.current =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue