discomfitor pushed a commit to branch master.

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

commit b720b7c1795e170561671e155e934bdccd125053
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 6 18:26:17 2015 -0500

    use pixmap size for resizes in wl commit
    
    the client size should be this anyway, but we just refreshed the pixmap 
above so this is guaranteed to be accurate
---
 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 0dd17d4..eb0f257 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -2612,10 +2612,7 @@ e_comp_wl_surface_commit(E_Client *ec)
      {
         int nw, nh;
 
-        nw = ec->client.w;
-        nh = ec->client.h;
-        if (nw == 0) nw = ec->comp_data->pending.w;
-        if (nh == 0) nh = ec->comp_data->pending.h;
+        e_pixmap_size_get(ec->pixmap, &nw, &nh);
 
         /* if the client has a shell configure, call it */
         if ((ec->comp_data->shell.surface) && 

-- 


Reply via email to