discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=807006385df8049e75fb74dfcb7e5592486e6124

commit 807006385df8049e75fb74dfcb7e5592486e6124
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Oct 20 16:01:58 2017 -0400

    ecore-wl2: correctly handle configure events on popup surfaces
    
    @fix
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index f2a2131e3a..c64298f418 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -189,9 +189,11 @@ static const struct zxdg_toplevel_v6_listener 
_zxdg_toplevel_listener =
 };
 
 static void
-_zxdg_popup_cb_configure(void *data EINA_UNUSED, struct zxdg_popup_v6 
*zxdg_popup EINA_UNUSED, int32_t x EINA_UNUSED, int32_t y EINA_UNUSED, int32_t 
w EINA_UNUSED, int32_t h EINA_UNUSED)
+_zxdg_popup_cb_configure(void *data, struct zxdg_popup_v6 *zxdg_popup 
EINA_UNUSED, int32_t x EINA_UNUSED, int32_t y EINA_UNUSED, int32_t width, 
int32_t height)
 {
-
+   Ecore_Wl2_Window *win = data;
+   win->def_config.geometry.w = width;
+   win->def_config.geometry.h = height;
 }
 
 static void

-- 


Reply via email to