ee_wayland: Don't use wrong window size

Borderless windows, such as internal windows, need to be the exact size
they're passed by a configure event.
This commit is contained in:
Derek Foreman 2017-10-16 16:17:29 -05:00
parent 01147d084f
commit 3dd90f61a9
1 changed files with 5 additions and 2 deletions

View File

@ -535,8 +535,11 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
return ECORE_CALLBACK_RENEW;
}
nw -= fw;
nh -= fh;
if (!ee->prop.borderless)
{
nw -= fw;
nh -= fh;
}
if (ee->prop.fullscreen || (ee->req.w != nw) || (ee->req.h != nh))
{