Revert "e - wl mode - stop consuming 100 percent cpu"

This reverts commit cd3490f35c.

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
This commit is contained in:
Mike Blumenkrantz 2017-02-27 14:42:52 -05:00
parent 9dff5b81e5
commit 1ada1b3e73
1 changed files with 3 additions and 6 deletions

View File

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