summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/e_comp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 599c208d4..7d8fdd235 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -262,7 +262,6 @@ static void
262_e_comp_cb_nocomp_end(E_Comp *c) 262_e_comp_cb_nocomp_end(E_Comp *c)
263{ 263{
264 E_Client *ec; 264 E_Client *ec;
265 Eina_Bool need_manual = EINA_FALSE;
266 265
267 if (!c->nocomp) return; 266 if (!c->nocomp) return;
268 267
@@ -272,13 +271,11 @@ _e_comp_cb_nocomp_end(E_Comp *c)
272 E_CLIENT_FOREACH(c, ec) 271 E_CLIENT_FOREACH(c, ec)
273 { 272 {
274 e_client_redirected_set(ec, 1); 273 e_client_redirected_set(ec, 1);
275 need_manual |= ec->redirected;
276 if (ec->visible && (!ec->input_only)) 274 if (ec->visible && (!ec->input_only))
277 e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h); 275 e_comp_object_damage(ec->frame, 0, 0, ec->w, ec->h);
278 } 276 }
279#ifndef HAVE_WAYLAND_ONLY 277#ifndef HAVE_WAYLAND_ONLY
280 if (!need_manual) 278 e_comp_x_nocomp_end(c);
281 e_comp_x_nocomp_end(c);
282#endif 279#endif
283 e_comp_render_queue(c); 280 e_comp_render_queue(c);
284 e_comp_shape_queue_block(c, 0); 281 e_comp_shape_queue_block(c, 0);