remove a redundant check
resize() now does the same check
This commit is contained in:
parent
54b546121b
commit
bbc00d88a4
3
dwl.c
3
dwl.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue