ecore-wl2: correctly handle configure events on popup surfaces

@fix
This commit is contained in:
Mike Blumenkrantz 2017-10-20 16:01:58 -04:00
parent 36bf4cbc4e
commit 807006385d
1 changed files with 4 additions and 2 deletions

View File

@ -189,9 +189,11 @@ static const struct zxdg_toplevel_v6_listener _zxdg_toplevel_listener =
}; };
static void 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 static void