From ecc5d49b9a1e3abdbf46f2d0d610d661beb44fc6 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 26 May 2017 16:34:13 -0400 Subject: [PATCH] force client pixmap refresh immediately during resize if nocomp is active in the case where this path was reached during x11 nocomp, the client's pixmap refresh would be deferred until the end of nocomp, even when the refresh would otherwise end the nocomp. instead, force the refresh immediately. fix T4887 --- src/bin/e_comp_object.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index df2a87839..0a978b222 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1232,8 +1232,13 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h) { /* client can't be resized if its pixmap isn't usable, try again */ e_pixmap_dirty(cw->ec->pixmap); - e_comp_object_render_update_add(obj); - e_comp_render_queue(); + if (e_comp->nocomp) + e_pixmap_refresh(cw->ec->pixmap); + else + { + e_comp_object_render_update_add(obj); + e_comp_render_queue(); + } } cw->ec->changes.size = 1; EC_CHANGED(cw->ec);