only unredirect clients during comp update after 3 failures

tfw your conditional is backwards
This commit is contained in:
Mike Blumenkrantz 2017-06-30 10:25:23 -04:00
parent 07d4f3bcf6
commit 44693a1852
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}