discomfitor pushed a commit to branch master.

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

commit 53ff8b764fc225aba28096af6a6d56045bd68efb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jul 8 14:46:12 2015 -0400

    properly calculate client+frame sizes during wl surface commit
---
 src/bin/e_comp_wl.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 950586a..8b6060d 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1105,8 +1105,9 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
 
         if (ec->new_client) placed = ec->placed;
 
-        ec->w = ec->client.w = state->bw;
-        ec->h = ec->client.h = state->bh;
+        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 (!e_pixmap_usable_get(ec->pixmap))
      {

-- 


Reply via email to