launch_effect: Delete only internal E_Client instances 29/323829/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 7 May 2025 10:58:28 +0000 (19:58 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 8 May 2025 01:34:26 +0000 (10:34 +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: Ie097696a7502086133556a4ae13a269ea9ef06fe

src/bin/server/e_tizen_launch_effect.c

index 142e3bb83c6388785a6878f2e1b7bdf6662799e6..51e5bd2c4bc812778f7373207c7728a7b3251175 100644 (file)
@@ -582,7 +582,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