From 1ada1b3e736c22367b55837a3a07d45f16afbde9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 27 Feb 2017 14:42:52 -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 1934d478c..296c82500 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1199,12 +1199,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; }