improve session lock support stability
This commit is contained in:
5
xdg.c
5
xdg.c
@@ -208,7 +208,10 @@ static void xdg_toplevel_destroy(struct wl_listener *listener, void *data)
|
||||
wl_event_source_remove(toplevel->configuration_timeout);
|
||||
toplevel->configuration_timeout = NULL;
|
||||
}
|
||||
wl_list_remove(&toplevel->commit.link);
|
||||
if(toplevel->mapped)
|
||||
{
|
||||
wl_list_remove(&toplevel->commit.link);
|
||||
}
|
||||
wl_list_remove(&toplevel->map.link);
|
||||
wl_list_remove(&toplevel->unmap.link);
|
||||
wl_list_remove(&toplevel->destroy.link);
|
||||
|
Reference in New Issue
Block a user