From 44693a18520538ff8e9c1dd4efce0a0904a3e0b1 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 Jun 2017 10:25:23 -0400 Subject: [PATCH] only unredirect clients during comp update after 3 failures tfw your conditional is backwards --- src/bin/e_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index a4c5250ca..0e1e56c1b 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -317,7 +317,7 @@ _e_comp_client_update(E_Client *ec) { WRN("FAIL %p", ec); e_comp_object_redirected_set(ec->frame, 0); - if (e_pixmap_failures_get(ec->pixmap) < 3) + if (e_pixmap_failures_get(ec->pixmap) > 3) e_comp_object_render_update_add(ec->frame); } }