ecore-wl - add ecore_wl_window_surface_id_get so we can unbreak elm

This commit is contained in:
Carsten Haitzler 2013-11-02 11:44:15 +09:00
parent fe8058cf77
commit 298f4af7fa
2 changed files with 12 additions and 1 deletions

View File

@ -572,7 +572,8 @@ EAPI void ecore_wl_window_parent_set(Ecore_Wl_Window *win, Ecore_Wl_Window *pare
EAPI int ecore_wl_window_id_get(Ecore_Wl_Window *win);
EAPI void ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title);
EAPI void ecore_wl_window_class_name_set(Ecore_Wl_Window *win, const char *class_name);
EAPI int ecore_wl_window_surface_id_get(Ecore_Wl_Window *win);
EAPI Ecore_Wl_Input *ecore_wl_window_keyboard_get(Ecore_Wl_Window *win);
/**

View File

@ -688,6 +688,16 @@ ecore_wl_window_id_get(Ecore_Wl_Window *win)
return win->id;
}
/* @since 1.8 */
EAPI int
ecore_wl_window_surface_id_get(Ecore_Wl_Window *win)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
if (!win) return 0;
return win->surface_id;
}
/* @since 1.8 */
EAPI void
ecore_wl_window_title_set(Ecore_Wl_Window *win, const char *title)