discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e1e711ce5346138ee29463b076c29b97d2ba3f97

commit e1e711ce5346138ee29463b076c29b97d2ba3f97
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Feb 11 17:08:06 2015 -0500

    use pixmap size for wl subsurface commit configure
---
 src/bin/e_comp_wl.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 30d85a8..ce4746a 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1491,10 +1491,7 @@ _e_comp_wl_subsurface_commit_from_cache(E_Client *ec)
      {
         int x, y, nw, nh;
 
-        nw = ec->client.w;
-        nh = ec->client.h;
-        if (nw == 0) nw = cdata->pending.w;
-        if (nh == 0) nh = cdata->pending.h;
+        e_pixmap_size_get(ec->pixmap, &nw, &nh);
         if (ec->changes.pos)
           e_comp_object_frame_xy_adjust(ec->frame, ec->x, ec->y, &x, &y);
         else

-- 


Reply via email to