ee-wl should probably clamp configure event resize to output size for fs wins
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 4 Mar 2015 21:49:19 +0000 (16:49 -0500)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 4 Mar 2015 21:49:19 +0000 (16:49 -0500)
fs configures are 0x0, so reuse existing output size here to get accurate sizes

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 47fd54d..e7521d5 100644 (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;