discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e3a5ab1457f62a06c7188765ffed45e0691b234a

commit e3a5ab1457f62a06c7188765ffed45e0691b234a
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Mar 3 11:56:16 2017 -0500

    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 0c849aa..6b56c85 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;
      }

-- 


Reply via email to