From 3dd90f61a9a4ee34309cd60ec1326000067a3e5a Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 16 Oct 2017 16:17:29 -0500 Subject: [PATCH] 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. --- .../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)) {