Add code to check whether the ec is same to ips->ec in effect_end callback 69/307769/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 12 Mar 2024 00:10:41 +0000 (09:10 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 13 Mar 2024 01:49:10 +0000 (10:49 +0900)
Change-Id: I49ca0759b587efb027bd6a8dc863757265eb51d6

src/e_mod_input_panel.c

index e5bdad6..82dc505 100644 (file)
@@ -875,6 +875,7 @@ _e_input_panel_effect_end(void *data, E_Client *ec)
 {
    E_Input_Panel_Surface *ips = data;
    if (!ips) return EINA_TRUE;
+   if (ips->ec != ec) return EINA_TRUE;
 
    LOGI("Effect end IPS's ec. ips:%p, ips->ec:%p", ips, ips->ec);