Fix ecore_evas_wayland maximized support to function properly

Previously, a "maximize" of an efl client would not actually resize to
the provided size as it would account for framespace width & height.
This fixes that so now "maximize" is Actually maximized.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-10-31 16:58:21 +00:00
parent 1a5bdb4088
commit c96cc485ab
1 changed files with 3 additions and 4 deletions

View File

@ -217,15 +217,14 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
if ((ee->x != ev->x) || (ee->y != ev->y))
{
ee->req.x = ee->x;
ee->req.y = ee->y;
ee->req.x = ev->x;
ee->req.y = ev->y;
if (ee->func.fn_move) ee->func.fn_move(ee);
}
nw = ev->w;
nh = ev->h;
if ((ee->prop.maximized) || (!ee->prop.fullscreen))
if ((!ee->prop.maximized) && (!ee->prop.fullscreen))
{
int fw = 0, fh = 0;