~ruther/dwl

f3c4f723147b40fb1284083f3d7dac988c52d162 — Leonardo Hernández Hernández 1 year, 3 months ago 6cbf8e9
fix posible NULL-dereference in wl_surface.commit handler
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 731,7 731,7 @@ commitnotify(struct wl_listener *listener, void *data)
{
	Client *c = wl_container_of(listener, c, commit);

	if (client_surface(c)->mapped)
	if (client_surface(c)->mapped && c->mon)
		resize(c, c->geom, (c->isfloating && !c->isfullscreen));

	/* mark a pending resize as completed */

Do not follow this link