remove a redundant check

resize() now does the same check
This commit is contained in:
Leonardo Hernández Hernández 2024-08-14 13:10:14 -06:00
parent 54b546121b
commit bbc00d88a4
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

3
dwl.c
View File

@ -809,8 +809,7 @@ commitnotify(struct wl_listener *listener, void *data)
return; return;
} }
if (client_surface(c)->mapped && c->mon) resize(c, c->geom, (c->isfloating && !c->isfullscreen));
resize(c, c->geom, (c->isfloating && !c->isfullscreen));
/* mark a pending resize as completed */ /* mark a pending resize as completed */
if (c->resize && c->resize <= c->surface.xdg->current.configure_serial) if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)