call client_set-size() if client has a resize
parent
52e0d00942
commit
2623a96ebf
2
dwl.c
2
dwl.c
|
@ -784,6 +784,8 @@ commitnotify(struct wl_listener *listener, void *data)
|
||||||
/* 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)
|
||||||
c->resize = 0;
|
c->resize = 0;
|
||||||
|
else if (c->resize)
|
||||||
|
c->resize = client_set_size(c, c->geom.width - 2 * c->bw, c->geom.height - 2 * c->bw);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue