ee-wl should probably clamp configure event resize to output size for fs wins

fs configures are 0x0, so reuse existing output size here to get accurate sizes
This commit is contained in:
Mike Blumenkrantz 2015-03-04 16:49:19 -05:00
parent daaca89790
commit 07a6d138a9
1 changed files with 6 additions and 1 deletions

View File

@ -208,7 +208,12 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
if (nw < 1) nw = 1;
if (nh < 1) nh = 1;
if (!ee->prop.fullscreen)
if (ee->prop.fullscreen)
{
if ((nw <= 1) || (nh <= 1))
evas_output_size_get(ee->evas, &nw, &nh);
}
else
{
int fw = 0, fh = 0;
int maxw = 0, maxh = 0;