make sure to destroy wlr_scene_node of unmanaged clients
This commit is contained in:
parent
254f799fde
commit
467123dc99
1 changed files with 3 additions and 1 deletions
4
dwl.c
4
dwl.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue