always apply damages and input regions during wayland commit

mapped status is not relevant according to spec
This commit is contained in:
Mike Blumenkrantz 2016-01-20 16:19:50 -05:00
parent 97d8f26724
commit 1a47836723
1 changed files with 0 additions and 8 deletions

View File

@ -1163,7 +1163,6 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
state->frames = NULL;
ec->ignored = ignored;
if (!ec->comp_data->mapped) goto unmapped;
/* put state damages into surface */
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 */
eina_tiler_clear(state->input);
}
return;
unmapped:
/* clear pending damages */
EINA_LIST_FREE(state->damages, dmg)
eina_rectangle_free(dmg);
}
static void