forked from enlightenment/enlightenment
wayland: Always add frame callbacks to current state on commit
Summary: Previously we ignored it for unmapped surfaces. Reviewers: devilhorns, zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2932
This commit is contained in:
parent
cae58cea9f
commit
15d13dad16
|
@ -1131,6 +1131,12 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
||||||
state->sy = 0;
|
state->sy = 0;
|
||||||
state->new_attach = EINA_FALSE;
|
state->new_attach = EINA_FALSE;
|
||||||
|
|
||||||
|
/* insert state frame callbacks into comp_data->frames
|
||||||
|
* NB: This clears state->frames list */
|
||||||
|
ec->comp_data->frames = eina_list_merge(ec->comp_data->frames,
|
||||||
|
state->frames);
|
||||||
|
state->frames = NULL;
|
||||||
|
|
||||||
ec->ignored = ignored;
|
ec->ignored = ignored;
|
||||||
if (!ec->comp_data->mapped) goto unmapped;
|
if (!ec->comp_data->mapped) goto unmapped;
|
||||||
|
|
||||||
|
@ -1201,11 +1207,6 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
||||||
eina_tiler_free(tmp);
|
eina_tiler_free(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* insert state frame callbacks into comp_data->frames
|
|
||||||
* NB: This clears state->frames list */
|
|
||||||
ec->comp_data->frames = eina_list_merge(ec->comp_data->frames, state->frames);
|
|
||||||
state->frames = NULL;
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
unmapped:
|
unmapped:
|
||||||
|
|
Loading…
Reference in New Issue