forked from enlightenment/enlightenment
always apply damages and input regions during wayland commit
mapped status is not relevant according to spec
This commit is contained in:
parent
97d8f26724
commit
1a47836723
|
@ -1163,7 +1163,6 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
||||||
state->frames = NULL;
|
state->frames = NULL;
|
||||||
|
|
||||||
ec->ignored = ignored;
|
ec->ignored = ignored;
|
||||||
if (!ec->comp_data->mapped) goto unmapped;
|
|
||||||
|
|
||||||
/* put state damages into surface */
|
/* put state damages into surface */
|
||||||
if ((!e_comp->nocomp) && (ec->frame))
|
if ((!e_comp->nocomp) && (ec->frame))
|
||||||
|
@ -1227,13 +1226,6 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
||||||
/* clear input tiler */
|
/* clear input tiler */
|
||||||
eina_tiler_clear(state->input);
|
eina_tiler_clear(state->input);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
|
|
||||||
unmapped:
|
|
||||||
/* clear pending damages */
|
|
||||||
EINA_LIST_FREE(state->damages, dmg)
|
|
||||||
eina_rectangle_free(dmg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue