~ruther/dwl

467123dc99db4a537f1043e081cc4a6db136417b — Leonardo Hernández Hernández 3 years ago 254f799
make sure to destroy wlr_scene_node of unmanaged clients
1 files changed, 3 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +3 -1
@@ 2139,8 2139,10 @@ unmapnotify(struct wl_listener *listener, void *data)
		grabc = NULL;
	}
	wl_list_remove(&c->link);
	if (client_is_unmanaged(c))
	if (client_is_unmanaged(c)) {
		wlr_scene_node_destroy(c->scene);
		return;
	}

	setmon(c, NULL, 0);
	wl_list_remove(&c->flink);

Do not follow this link