From 1a4783672363a0365f0c0b66dca3c819e83a21b8 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 20 Jan 2016 16:19:50 -0500 Subject: [PATCH] always apply damages and input regions during wayland commit mapped status is not relevant according to spec --- src/bin/e_comp_wl.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index c6b82298c..bcad1f2e8 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -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