forked from enlightenment/efl
ecore-wl2: API expose ecore_wl2_input_grab function
This input_grab function should have been exposed via EAPI for use in enlightenment, but was missed before the push Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
03bce14908
commit
5499a53c75
|
@ -780,6 +780,10 @@ EAPI Ecore_Wl2_Input *ecore_wl2_window_input_get(Ecore_Wl2_Window *window);
|
|||
* Wayland Input
|
||||
*/
|
||||
|
||||
/* TODO: doxy */
|
||||
/** @since 1.17 */
|
||||
EAPI void ecore_wl2_input_grab(Ecore_Wl2_Input *input, Ecore_Wl2_Window *window, unsigned int button);
|
||||
|
||||
/* TODO: doxy */
|
||||
/** @since 1.17 */
|
||||
EAPI void ecore_wl2_input_ungrab(Ecore_Wl2_Input *input);
|
||||
|
|
|
@ -1365,6 +1365,14 @@ _ecore_wl2_input_cursor_update_stop(Ecore_Wl2_Input *input)
|
|||
input->cursor.timer = NULL;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ecore_wl2_input_grab(Ecore_Wl2_Input *input, Ecore_Wl2_Window *window, unsigned int button)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN(input);
|
||||
|
||||
_ecore_wl2_input_grab(input, window, button);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
ecore_wl2_input_ungrab(Ecore_Wl2_Input *input)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue