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 f9f75df309
commit 7fc3d6e094
1 changed files with 2 additions and 1 deletions

View File

@ -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;