summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-10-20 16:01:58 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-10-27 07:50:31 -0400
commit91125a50212f7ff846f1845e038330033b4714d4 (patch)
tree0163984427ff4143de348a7d2b8df3fa239bcf1e
parent2744a4838f6344c2ee532443f197d097b3613c0a (diff)
downloadefl-91125a50212f7ff846f1845e038330033b4714d4.tar.gz
ecore-wl2: correctly handle configure events on popup surfaces
@fix
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c6
1 files 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 caa2a7b3de..ce8a4c95e9 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -268,9 +268,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