forked from enlightenment/efl
ecore-wl2: correctly handle configure events on popup surfaces
@fix
This commit is contained in:
parent
36bf4cbc4e
commit
807006385d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue