summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-20 16:19:50 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-02-02 13:34:57 -0500
commit47196af43a5fb7eddddede6f4a4a56f9a88405b8 (patch)
treefb627b8e5d701759bb4cbdfae1d3d64fc674530a
parent3b77b7aa43dfa20309226d48567a12856a714f1c (diff)
always apply damages and input regions during wayland commit
mapped status is not relevant according to spec
-rw-r--r--src/bin/e_comp_wl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 00fcebfbc..e4b97440e 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)
1163 state->frames = NULL; 1163 state->frames = NULL;
1164 1164
1165 ec->ignored = ignored; 1165 ec->ignored = ignored;
1166 if (!ec->comp_data->mapped) goto unmapped;
1167 1166
1168 /* put state damages into surface */ 1167 /* put state damages into surface */
1169 if ((!e_comp->nocomp) && (ec->frame)) 1168 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)
1227 /* clear input tiler */ 1226 /* clear input tiler */
1228 eina_tiler_clear(state->input); 1227 eina_tiler_clear(state->input);
1229 } 1228 }
1230
1231 return;
1232
1233unmapped:
1234 /* clear pending damages */
1235 EINA_LIST_FREE(state->damages, dmg)
1236 eina_rectangle_free(dmg);
1237} 1229}
1238 1230
1239static void 1231static void