From 07a6d138a998ad110847b94e5c25b092cd42a717 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 4 Mar 2015 16:49:19 -0500 Subject: [PATCH] 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 --- .../ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index 47fd54dd6f..e7521d5f86 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -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;