Add common wayland function to get the pointer xy from wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-08 11:02:58 +01:00
parent 4d2de522fa
commit a8bb3ec5ce
2 changed files with 10 additions and 0 deletions

View File

@ -832,6 +832,14 @@ _ecore_evas_wl_common_frame_border_size_get(Evas_Object *obj, int *fx, int *fy,
if (fh) *fh = sd->border_size[0] + sd->border_size[1];
}
void
_ecore_evas_wl_common_pointer_xy_get(Ecore_Evas *ee EINA_UNUSED, Evas_Coord *x, Evas_Coord *y)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
ecore_wl_pointer_xy_get(x, y);
}
void
_ecore_evas_wl_common_raise(Ecore_Evas *ee)
{

View File

@ -77,6 +77,8 @@ void _ecore_evas_wl_common_borderless_set(Ecore_Evas *ee, int borderless);
Evas_Object * _ecore_evas_wl_common_frame_add(Evas *evas);
void _ecore_evas_wl_common_frame_border_size_set(Evas_Object *obj, int fx, int fy, int fw, int fh);
void _ecore_evas_wl_common_pointer_xy_get(Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y);
#ifdef BUILD_ECORE_EVAS_WAYLAND_SHM
void _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location);
void _ecore_evas_wayland_shm_transparent_do(Ecore_Evas *ee, int transparent);