forked from enlightenment/efl
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!
This commit is contained in:
parent
d4b471a3a8
commit
7a46449191
|
@ -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->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->w = e->w;
|
||||||
ee->h = e->h;
|
ee->h = e->h;
|
||||||
|
|
Loading…
Reference in New Issue