From e3a5ab1457f62a06c7188765ffed45e0691b234a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 3 Mar 2017 11:56:16 -0500 Subject: [PATCH] Revert "e - wl mode - stop consuming 100 percent cpu" This reverts commit cd3490f35c5dd1efc9719895845cc01194de1ccd. this breaks many windows by preventing deferred resizing from occurring. a window which is unable to resize at the time of this call must be queued for a deferred resize, otherwise it may never resize at all and thus will never be rendered test case: screenshot dialog --- src/bin/e_comp_object.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 0c849aa3b..6b56c85ce 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1201,12 +1201,9 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h) /* do nothing until client idler loops */ if (!cw->ec->maximized) { - if ((cw->ec->w != w) || (cw->ec->h != h)) - { - cw->ec->w = w, cw->ec->h = h; - cw->ec->changes.size = 1; - EC_CHANGED(cw->ec); - } + cw->ec->w = w, cw->ec->h = h; + cw->ec->changes.size = 1; + EC_CHANGED(cw->ec); } return; }