forked from enlightenment/efl
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:
parent
01147d084f
commit
3dd90f61a9
|
@ -535,8 +535,11 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
|
||||||
return ECORE_CALLBACK_RENEW;
|
return ECORE_CALLBACK_RENEW;
|
||||||
}
|
}
|
||||||
|
|
||||||
nw -= fw;
|
if (!ee->prop.borderless)
|
||||||
nh -= fh;
|
{
|
||||||
|
nw -= fw;
|
||||||
|
nh -= fh;
|
||||||
|
}
|
||||||
|
|
||||||
if (ee->prop.fullscreen || (ee->req.w != nw) || (ee->req.h != nh))
|
if (ee->prop.fullscreen || (ee->req.w != nw) || (ee->req.h != nh))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue