launch_effect: Delete only internal E_Client instances
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 8 May 2025 08:35:44 +0000 (17:35 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 8 May 2025 08:35:44 +0000 (17:35 +0900)
This patch prevents E_Client instances created with wl_surface from
being deleted. Only the E_Client instances created internally by the
implementation should be deleted. The E_Client instances created with
wl_surface will be destroyed automatically when the associated
wl_surface is destroyed.

Change-Id: Ia2fdad532d681d5e32c95a8d344c295e9fb753fe

src/bin/server/e_policy_wl.c

index 2029c728fc0b6cdf82dcbd9a9ebfbdb80f2c6608..18a4f0c71d866a62af90bc82b8acafb1cd76e6b8 100644 (file)
@@ -7152,7 +7152,8 @@ _tzlaunch_splash_iface_cb_owner(struct wl_client *client EINA_UNUSED, struct wl_
              e_comp_launchscrn_ec_remove(old_ec);
 
              e_pixmap_win_id_del(tzlaunch_splash->ep);
-             e_object_del(E_OBJECT(old_ec));
+             if (e_client_internal_get(old_ec))
+               e_object_del(E_OBJECT(old_ec));
              tzlaunch_splash->ep = NULL;
           }
         else