e_policy_visibility: modify code for handling uniconify below window which is not... 04/268404/1 accepted/tizen/unified/20211223.215723 submit/tizen/20211222.102138
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 22 Dec 2021 09:32:45 +0000 (18:32 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 22 Dec 2021 09:59:48 +0000 (18:59 +0900)
When a window is lowered or hidden, its below window must be shown by enlightenment.
But there was a bug that the below window which is not set deiconify_update and buffer_flush property
didn't show because its iconic state was not changed.

This patch resolve this problem.

Change-Id: I99e6adc6fc39f754e8a10b57466cceaca2e66a75

src/bin/e_policy_visibility.c

index a8e6209..a669939 100644 (file)
@@ -1944,8 +1944,9 @@ _e_vis_ec_below_uniconify(E_Client *ec, E_Pol_Vis_Type above_vis_type)
                   if ((below_ec->iconic) && (!below_ec->exp_iconify.by_client))
                     {
                        // show evas obj if uniconify pending is not necessary
-                       VS_DBG(below_ec, "Show below iconic client in advance");
-                       evas_object_show(below_ec->frame);
+                       ELOGF("POL_VIS", "Show below iconic client in advance", below_ec);
+                       e_client_uniconify(below_ec);
+                       e_policy_wl_iconify_state_change_send(below_ec, 0);
                     }
                }