devilhorns pushed a commit to branch master.
commit a8bb3ec5cedafc6aeecb8be0baed84313bcbcede
Author: Chris Michael <[email protected]>
Date: Mon Jul 8 11:02:58 2013 +0100
Add common wayland function to get the pointer xy from wayland
Signed-off-by: Chris Michael <[email protected]>
---
.../ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 8 ++++++++
.../ecore_evas/engines/wayland/ecore_evas_wayland_private.h | 2 ++
2 files changed, 10 insertions(+)
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 4a4dee6..b800b66 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -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)
{
diff --git
a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
index 59fa993..d25197c 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h
@@ -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);
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev