e_client/e_policy_wl: add log for debugging 95/239695/1 accepted/tizen/unified/20200729.165553 submit/tizen/20200729.055340
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 29 Jul 2020 04:05:03 +0000 (13:05 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 29 Jul 2020 04:52:17 +0000 (13:52 +0900)
Change-Id: Ib3ef8bea1efa8431c2f54886106d44832ce6b13c

src/bin/e_client.c
src/bin/e_policy_wl.c

index 90124b45131c97fca299a341886f19346bc47757..8feaba752a99091adbcaceb23da653b6fadd0e7c 100644 (file)
@@ -3444,13 +3444,13 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
                        /* previous state is obscured: -1 or 1 */
                        ec->visibility.obscured = E_VISIBILITY_UNOBSCURED;
                        ec->visibility.changed = 1;
-                       ELOGF("POL_VIS", "CLIENT VIS ON.  argb:%d, opaque:%2d, frame_v:%d", ec, ec->argb, ec->visibility.opaque, ec_frame_visible);
+                       ELOGF("POL_VIS", "CLIENT VIS ON.  argb:%d, opaque:%2d, frame_v:%d, cdata:%p", ec, ec->argb, ec->visibility.opaque, ec_frame_visible, cdata);
                     }
                   else
                     {
                        if (!is_above_rot_pending)
                          is_vis_on_skip = EINA_TRUE;
-                       ELOGF("POL_VIS", "CLIENT VIS ON-SKIP. argb:%d, opaque:%2d, frame_v:%d", ec, ec->argb, ec->visibility.opaque, ec_frame_visible);
+                       ELOGF("POL_VIS", "CLIENT VIS ON-SKIP. argb:%d, opaque:%2d, frame_v:%d, cdata:%p", ec, ec->argb, ec->visibility.opaque, ec_frame_visible, cdata);
                     }
                }
 
@@ -4362,7 +4362,7 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
    e_comp->clients = eina_list_append(e_comp->clients, ec);
    eina_hash_add(clients_hash[e_pixmap_type_get(cp)], &ec->pixmap, ec);
 
-   ELOGF("COMP", "CLIENT ADD. cp:%p, argb:%d", ec, cp, ec->argb);
+   ELOGF("COMP", "CLIENT ADD. cp:%p, argb:%d, internal:%d", ec, cp, ec->argb, internal);
    if (!ec->ignored)
      _e_client_event_add(ec);
    e_comp_object_client_add(ec);
index 6130c83457ef9f445d4c12b680568ada457d8a00..783c509ec3313241c924451dd446b2034a9276ae 100644 (file)
@@ -1244,19 +1244,20 @@ e_policy_wl_visibility_send(E_Client *ec, int vis)
                       sent_vis = -3;
                  }
 
+               if (ec->comp_data && ec->comp_data->mapped)
+                 {
+                    _launch_effect_hide(ec->netwm.pid);
+                 }
+
                ELOGF("POL_VIS",
-                     "SEND     |win:0x%08zx|res_tzvis:%8p|ver:%d|sent_vis:%d|pid:%d|title:%s, name:%s",
+                     "SEND     |win:0x%08zx|res_tzvis:%8p|ver:%d|sent_vis:%d|pid:%d|cdata:%8p|title:%s, name:%s",
                      ec,
                      win,
                      res_tzvis,
                      ver,
                      sent_vis,
-                     ec->netwm.pid, ec->icccm.title, ec->netwm.name);
+                     ec->netwm.pid, ec->comp_data, ec->icccm.title, ec->netwm.name);
                sent = EINA_TRUE;
-               if (ec->comp_data->mapped)
-                 {
-                    _launch_effect_hide(ec->netwm.pid);
-                 }
             }
        }
    eina_iterator_free(it);
@@ -6560,6 +6561,8 @@ _tzlaunch_effect_iface_cb_create_splash_img(struct wl_client *client, struct wl_
    plaunch_splash = _tzlaunch_splash_add(res_tzlaunch_effect, res_tzlaunch_splash);
    EINA_SAFETY_ON_NULL_GOTO(plaunch_splash, err);
 
+   ELOGF("TZPOL", "Launchscreen effect create splash img. res_tzlaunch_effect:%p, res_tzlaunch_splash:%p", plaunch_splash->ec, res_tzlaunch_effect, res_tzlaunch_splash);
+
    wl_resource_set_implementation(res_tzlaunch_splash,
                                   &_tzlaunch_splash_iface,
                                   plaunch_splash,