~ruther/dwl

66828780094280064f5d3c0cb2982d28b0557e9e — Leonardo Hernández Hernández 2 years ago afacc9b
call arrange() or resize() depending on c->isfloating in commitnotify
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 764,7 764,7 @@ commitnotify(struct wl_listener *listener, void *data)

	if (c->mon && !wlr_box_empty(&box) && (box.width != c->geom.width - 2 * c->bw
			|| box.height != c->geom.height - 2 * c->bw))
		arrange(c->mon);
		c->isfloating ? resize(c, c->geom, 1) : arrange(c->mon);

	/* mark a pending resize as completed */
	if (c->resize && (c->resize <= c->surface.xdg->current.configure_serial

Do not follow this link