unbreak wayland elm build more - use get_surface_id api

This commit is contained in:
Carsten Haitzler 2013-11-02 11:51:50 +09:00
parent aae829f260
commit 1aa3dd0ec4
1 changed files with 2 additions and 2 deletions

View File

@ -5469,7 +5469,7 @@ _window_id_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
#if HAVE_ELEMENTARY_WAYLAND
if (sd->wl.win)
{
*ret = (Ecore_Window)sd->wl.win->surface_id;
*ret = (Ecore_Window)ecore_wl_window_surface_id_get(sd->wl.win);
return;
}
if (sd->parent)
@ -5477,7 +5477,7 @@ _window_id_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
Ecore_Wl_Window *parent;
parent = elm_win_wl_window_get(sd->parent);
if (parent) *ret = (Ecore_Window)parent->surface_id;
if (parent) *ret = (Ecore_Window)ecore_wl_window_surface_id_get(parent);
return;
}
#endif