discomfitor pushed a commit to branch enlightenment-0.21.

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

commit 7fc3d6e094f85a5942ff9cbd00c9a9199cc93d2d
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 18 15:52:52 2017 -0400

    only update wl client window size on commit if no pending resize exists
    
    this breaks pending resizes
    
    fix T4189
---
 src/bin/e_comp_wl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 812f7d5dc..586b0bcea 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1393,7 +1393,8 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
           {
              ec->client.w = state->bw;
              ec->client.h = state->bh;
-             e_comp_object_frame_wh_adjust(ec->frame, ec->client.w, 
ec->client.h, &ec->w, &ec->h);
+             if (!ec->changes.size)
+               e_comp_object_frame_wh_adjust(ec->frame, ec->client.w, 
ec->client.h, &ec->w, &ec->h);
           }
         w = ec->client.w;
         h = ec->client.h;

-- 


Reply via email to