e_policy_visibility: do not add internal ec in below activity list 69/256669/1 accepted/tizen/unified/20210412.012040 submit/tizen/20210409.043739
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 7 Apr 2021 10:32:05 +0000 (19:32 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Fri, 9 Apr 2021 01:09:41 +0000 (10:09 +0900)
If an internal ec is added to the below activity list, then e could get timeout for uniconify
pending job because it does not send buffer attach, damage, commit event.

To prevent timeout, we change code not to add the internal ec (aka made by e or e's module)
in the below activity list.

Change-Id: I6f6e9a2c905e931cfb6bd10bdc6446d8f718095d

src/bin/e_policy_visibility.c

index bc62ce722519ac8eb6800e178cca22620de3f190..6c20cfc97f7d48a23850174b33ecf166058ce666 100644 (file)
@@ -1815,6 +1815,9 @@ _e_vis_ec_below_activity_clients_get(E_Client *ec, Eina_List **below_list)
             (below->parent == ec))
           continue;
 
+        if (below->internal)
+          continue;
+
         *below_list = eina_list_prepend(*below_list, vc);
         if (!(below->argb) || !(below->visibility.opaque <= 0))
           {