opt: optimize init commit for no anim

This commit is contained in:
DreamMaoMao 2025-08-02 23:02:21 +08:00
parent 2b6757f2ad
commit 1e4a26a4ca
2 changed files with 9 additions and 10 deletions

View file

@ -776,6 +776,7 @@ void resize(Client *c, struct wlr_box geo, int interact) {
return;
c->need_output_flush = true;
c->dirty = true;
// oldgeom = c->geom;
bbox = (interact || c->isfloating || c->isfullscreen) ? &sgeom : &c->mon->w;