Add code to check whether the ec is same to ips->ec in effect_end callback 67/307767/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:48:27 +0000 (10:48 +0900)
Change-Id: I49ca0759b587efb027bd6a8dc863757265eb51d6

src/e_mod_input_panel.c

index 7b30b4b..81bd69f 100644 (file)
@@ -889,6 +889,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);