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

1
dwl.c
View file

@ -809,7 +809,6 @@ 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 */