forked from enlightenment/efl
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:
parent
1a5bdb4088
commit
c96cc485ab
|
@ -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))
|
if ((ee->x != ev->x) || (ee->y != ev->y))
|
||||||
{
|
{
|
||||||
ee->req.x = ee->x;
|
ee->req.x = ev->x;
|
||||||
ee->req.y = ee->y;
|
ee->req.y = ev->y;
|
||||||
if (ee->func.fn_move) ee->func.fn_move(ee);
|
if (ee->func.fn_move) ee->func.fn_move(ee);
|
||||||
}
|
}
|
||||||
|
|
||||||
nw = ev->w;
|
nw = ev->w;
|
||||||
nh = ev->h;
|
nh = ev->h;
|
||||||
|
if ((!ee->prop.maximized) && (!ee->prop.fullscreen))
|
||||||
if ((ee->prop.maximized) || (!ee->prop.fullscreen))
|
|
||||||
{
|
{
|
||||||
int fw = 0, fh = 0;
|
int fw = 0, fh = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue