fix bug: use ec->client.x/y instead of ec->x/y since ec->x/ has zero values 23/48023/1
authorDuna Oh <duna.oh@samsung.com>
Fri, 11 Sep 2015 07:48:47 +0000 (16:48 +0900)
committerDuna Oh <duna.oh@samsung.com>
Fri, 11 Sep 2015 07:59:41 +0000 (16:59 +0900)
For ISF Popup, ec->x/y is set to zero in _e_comp_wl_surface_state_commit()

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I4a7ab3ae8601c21ffc12ed328a0aec8d76c4aa44

src/e_mod_wl.c

index 667e1bf..57be4d7 100644 (file)
@@ -986,7 +986,15 @@ e_mod_pol_wl_position_send(E_Client *ec)
           if (e_pixmap_client_get(psurf->cp) != ec) continue;
 
           EINA_LIST_FOREACH(psurf->poslist, ll, res_tzpos)
-            tizen_position_send_changed(res_tzpos, ec->x, ec->y);
+            {
+               tizen_position_send_changed(res_tzpos, ec->client.x, ec->client.y);
+               ELOGF("TZPOS",
+                     "SEND     |res_tzpos:0x%08x|ec->x:%d, ec->y:%d, ec->client.x:%d, ec->client.y:%d",
+                     ec->pixmap, ec,
+                     (unsigned int)res_tzpos,
+                     ec->x, ec->y,
+                     ec->client.x, ec->client.y);
+            }
        }
    eina_iterator_free(it);
 }