forked from enlightenment/efl
ecore-wl2: Add API function to return a wl_seat from an Ecore_Wl2_Input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
055b398e8d
commit
6d78355ccc
|
@ -574,6 +574,9 @@ EAPI Eina_Bool ecore_wl2_dnd_selection_clear(Ecore_Wl2_Input *input);
|
||||||
/* TODO: doxy */
|
/* TODO: doxy */
|
||||||
EAPI void ecore_wl2_input_ungrab(Ecore_Wl2_Input *input);
|
EAPI void ecore_wl2_input_ungrab(Ecore_Wl2_Input *input);
|
||||||
|
|
||||||
|
/* TODO: doxy */
|
||||||
|
EAPI struct wl_seat *ecore_wl2_input_seat_get(Ecore_Wl2_Input *input);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create and return a new subsurface.
|
* Create and return a new subsurface.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1343,3 +1343,11 @@ ecore_wl2_input_ungrab(Ecore_Wl2_Input *input)
|
||||||
|
|
||||||
_ecore_wl2_input_ungrab(input);
|
_ecore_wl2_input_ungrab(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI struct wl_seat *
|
||||||
|
ecore_wl2_input_seat_get(Ecore_Wl2_Input *input)
|
||||||
|
{
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN_VAL(input, NULL);
|
||||||
|
|
||||||
|
return input->wl.seat;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue