e_info_server: fix log regarding hwc 22/87122/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 6 Sep 2016 11:06:45 +0000 (20:06 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 6 Sep 2016 11:06:45 +0000 (20:06 +0900)
Change-Id: I824415122f0b39760bf84394a0fa9256834013f8

src/bin/e_info_server.c

index 104eb82e3ec5d8e7ea54f2134239705b23cca0d6..6073dc369a94485d304ffe4ffc3f0f16e7783b35 100644 (file)
@@ -95,7 +95,7 @@ _msg_clients_append(Eldbus_Message_Iter *iter)
         uint32_t res_id = 0;
         pid_t pid = -1;
         char layer_name[32];
-        int hwc = 0, pl_zpos = -999;
+        int hwc = -1, pl_zpos = -999;
 
         ec = evas_object_data_get(o, "E_Client");
         if (!ec) continue;
@@ -118,13 +118,15 @@ _msg_clients_append(Eldbus_Message_Iter *iter)
                }
           }
 
-        hwc = -1;
+
 #ifdef ENABLE_HWC_MULTI
         if (e_comp->hwc && e_comp->hwc_fs)
           {
              Eina_List *l;
              E_Plane *ep;
 
+             hwc = 0;
+
              E_Output *eout = e_output_find(ec->zone->output_id);
              EINA_LIST_FOREACH(eout->planes, l, ep)
                {