From 7a46449191f5bcfffa3fea79ec2661a00a6bdd02 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 30 Dec 2013 13:39:18 +0900 Subject: [PATCH] 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 7197aca337..b70601c56a 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;