~ruther/dwl

14a1e3e2a2ced87d4f373c93c7caae48ccb02f27 — Leonardo Hernández Hernández 2 years ago a94d089
set c->prev in mapnotify()

Closes: #300
1 files changed, 1 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -0
@@ 1423,6 1423,7 @@ mapnotify(struct wl_listener *listener, void *data)
	client_get_geometry(c, &c->geom);
	c->geom.width += 2 * c->bw;
	c->geom.height += 2 * c->bw;
	c->prev = c->geom;

	/* Insert this client into client lists. */
	wl_list_insert(&clients, &c->link);

Do not follow this link