only update wl client window size on commit if no pending resize exists

this breaks pending resizes

fix T4189
This commit is contained in:
Mike Blumenkrantz 2017-08-18 15:52:52 -04:00
parent ac91f3b2c5
commit 7402dc8eda
1 changed files with 2 additions and 1 deletions

View File

@ -1428,7 +1428,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;