derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3dd90f61a9a4ee34309cd60ec1326000067a3e5a

commit 3dd90f61a9a4ee34309cd60ec1326000067a3e5a
Author: Derek Foreman <[email protected]>
Date:   Mon Oct 16 16:17:29 2017 -0500

    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.
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 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 8e21903f53..1051a1b761 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
@@ -535,8 +535,11 @@ _ecore_evas_wl_common_cb_window_configure(void *data 
EINA_UNUSED, int type EINA_
         return ECORE_CALLBACK_RENEW;
      }
 
-   nw -= fw;
-   nh -= fh;
+   if (!ee->prop.borderless)
+     {
+        nw -= fw;
+        nh -= fh;
+     }
 
    if (ee->prop.fullscreen || (ee->req.w != nw) || (ee->req.h != nh))
      {

-- 


Reply via email to