From 789eccf12f972274d186ca66279f2f16a8e74945 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 Jun 2017 10:25:24 -0400 Subject: [PATCH] try redirecting failed clients again during resize it seems like this is a good place to try, and this seems to resolve some render updating issues on restart, such as with maximized chrome windows ref T5599 --- src/bin/e_comp_object.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 37e2d43cf..83349fc05 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1246,6 +1246,11 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h) EC_CHANGED(cw->ec); return; } + if (e_pixmap_failures_get(cw->ec->pixmap) && (!cw->redirected)) + { + e_comp_object_redirected_set(obj, 1); + return; + } prev_w = cw->w, prev_h = cw->h; e_comp_object_frame_wh_adjust(obj, 0, 0, &fw, &fh); /* check shading and clamp to pixmap size for regular clients */