make sure to destroy wlr_scene_node of unmanaged clients
This commit is contained in:
parent
254f799fde
commit
467123dc99
4
dwl.c
4
dwl.c
@ -2139,8 +2139,10 @@ unmapnotify(struct wl_listener *listener, void *data)
|
|||||||
grabc = NULL;
|
grabc = NULL;
|
||||||
}
|
}
|
||||||
wl_list_remove(&c->link);
|
wl_list_remove(&c->link);
|
||||||
if (client_is_unmanaged(c))
|
if (client_is_unmanaged(c)) {
|
||||||
|
wlr_scene_node_destroy(c->scene);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
setmon(c, NULL, 0);
|
setmon(c, NULL, 0);
|
||||||
wl_list_remove(&c->flink);
|
wl_list_remove(&c->flink);
|
||||||
|
Loading…
Reference in New Issue
Block a user