raster pushed a commit to branch efl-1.8.

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

commit ac2b3adced8f5602740e2fe8dad37234794d55d1
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Mon Dec 30 13:39:18 2013 +0900

    ecore-evas - x11 - call resize callback if wm denies resize request
    
    in SOME cases a wm may deny a resize request entirely and keep the
    window size the same. it does so with a configurenotify of the SAME
    size as before. problem is we never passed this onto the app with a
    resize callback of the original size before request to the new size.
    this does that now.
    
    cherry-pick me!
---
 src/modules/ecore_evas/engines/x/ecore_evas_x.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c 
b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index 2847e6c..d14945a 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -1366,7 +1366,8 @@ _ecore_evas_x_event_window_configure(void *data 
EINA_UNUSED, int type EINA_UNUSE
              if (ee->func.fn_move) ee->func.fn_move(ee);
           }
      }
-   if ((ee->w != e->w) || (ee->h != e->h))
+   if ((ee->w != e->w) || (ee->h != e->h) ||
+       (ee->req.w != e->w) || (ee->req.h != e->h))
      {
         ee->w = e->w;
         ee->h = e->h;

-- 


Reply via email to