forked from enlightenment/efl
ecore-wl2: Add API function to return the Ecore_Wl2_Input from a given
window Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
6ad9dc0e10
commit
ccb8061841
|
@ -476,6 +476,9 @@ EAPI void ecore_wl2_window_cursor_from_name_set(Ecore_Wl2_Window *window, const
|
|||
/* TODO: doxy */
|
||||
EAPI void ecore_wl2_window_type_set(Ecore_Wl2_Window *window, Ecore_Wl2_Window_Type type);
|
||||
|
||||
/* TODO: doxy */
|
||||
EAPI Ecore_Wl2_Input *ecore_wl2_window_input_get(Ecore_Wl2_Window *window);
|
||||
|
||||
/* # ifdef __cplusplus */
|
||||
/* } */
|
||||
/* # endif */
|
||||
|
|
|
@ -838,3 +838,12 @@ ecore_wl2_window_type_set(Ecore_Wl2_Window *window, Ecore_Wl2_Window_Type type)
|
|||
EINA_SAFETY_ON_NULL_RETURN(window);
|
||||
window->type = type;
|
||||
}
|
||||
|
||||
EAPI Ecore_Wl2_Input *
|
||||
ecore_wl2_window_input_get(Ecore_Wl2_Window *window)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(window, NULL);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(window->input, NULL);
|
||||
|
||||
return window->input;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue