forked from enlightenment/enlightenment
only update wl client window size on commit if no pending resize exists
this breaks pending resizes fix T4189
This commit is contained in:
parent
f9f75df309
commit
7fc3d6e094
|
@ -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.w = state->bw;
|
||||||
ec->client.h = state->bh;
|
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;
|
w = ec->client.w;
|
||||||
h = ec->client.h;
|
h = ec->client.h;
|
||||||
|
|
Loading…
Reference in New Issue