summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-03-04 16:49:19 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-03-04 16:49:19 -0500
commit07a6d138a998ad110847b94e5c25b092cd42a717 (patch)
treed2f07f39b28dcb1af2aee49731b0bdb21726585b
parentdaaca897904bb1450fe3d59c6d12bbe0abd18a45 (diff)
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
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c7
1 files changed, 6 insertions, 1 deletions
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_
208 if (nw < 1) nw = 1; 208 if (nw < 1) nw = 1;
209 if (nh < 1) nh = 1; 209 if (nh < 1) nh = 1;
210 210
211 if (!ee->prop.fullscreen) 211 if (ee->prop.fullscreen)
212 {
213 if ((nw <= 1) || (nh <= 1))
214 evas_output_size_get(ee->evas, &nw, &nh);
215 }
216 else
212 { 217 {
213 int fw = 0, fh = 0; 218 int fw = 0, fh = 0;
214 int maxw = 0, maxh = 0; 219 int maxw = 0, maxh = 0;