Summary: This fixed the elm_win_window_id_get function when running in
wayland to return the ecore_wl_window_id rather than the surface id.
This change is necessary so that anyone calling this function can use
the return value in ecore_wayland function calls.
NB: Thanks to Hermet for pointing this out ! :)
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
(!strcmp(engine_name, ELM_WAYLAND_EGL)))))
{
#if HAVE_ELEMENTARY_WAYLAND
- if (sd->wl.win) return (Ecore_Window)ecore_wl_window_surface_id_get(sd->wl.win);
+ if (sd->wl.win) return (Ecore_Window)ecore_wl_window_id_get(sd->wl.win);
if (sd->parent)
{
Ecore_Wl_Window *parent;
parent = elm_win_wl_window_get(sd->parent);
- if (parent) return (Ecore_Window)ecore_wl_window_surface_id_get(parent);
+ if (parent) return (Ecore_Window)ecore_wl_window_id_get(parent);
return 0;
}
#endif