compositor: Disconnect link of request_move on destroy 23/297223/1
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 14 Aug 2023 05:36:48 +0000 (14:36 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 14 Aug 2023 05:55:52 +0000 (14:55 +0900)
Change-Id: I8ac47c3e1add61364e835a18df2eb31a20f0ebc0

src/bin/e_compositor.c

index 9de1d10..48fef97 100644 (file)
@@ -1086,6 +1086,7 @@ _e_subsurface_destroy(E_Subsurface *sub)
 {
    ELOGF("SUBSURFACE", "Destroy", sub->surface->ec);
    e_comp_wl_client_subsurface_finish(sub->surface->ec);
+   wl_list_remove(&sub->request_move.link);
    wl_list_remove(&sub->parent_surface_destroy.link);
    wl_list_remove(&sub->cached.link);
    wl_list_remove(&sub->surface_destroy.link);