devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e1dc4579fdefd25bb1b10575cc7b74288efc0705

commit e1dc4579fdefd25bb1b10575cc7b74288efc0705
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Nov 19 10:32:51 2013 +0000

    Add list of touch points to input structure, and a pointer to the
    "touch" focused surface.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wayland/ecore_wl_private.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/ecore_wayland/ecore_wl_private.h 
b/src/lib/ecore_wayland/ecore_wl_private.h
index 9221117..adb9dcd 100644
--- a/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/src/lib/ecore_wayland/ecore_wl_private.h
@@ -138,6 +138,7 @@ struct _Ecore_Wl_Window
 
    Ecore_Wl_Input *pointer_device;
    Ecore_Wl_Input *keyboard_device;
+   Ecore_Wl_Input *touch_device;
 
    Eina_Bool anim_pending : 1;
    struct wl_callback *anim_callback;
@@ -157,7 +158,10 @@ struct _Ecore_Wl_Input
    struct wl_seat *seat;
    struct wl_pointer *pointer;
    struct wl_keyboard *keyboard;
+
    struct wl_touch *touch;
+   struct wl_list touch_points;
+   int touch_count;
 
    const char *cursor_name;
    struct wl_cursor *cursor;
@@ -172,6 +176,7 @@ struct _Ecore_Wl_Input
 
    Ecore_Wl_Window *pointer_focus;
    Ecore_Wl_Window *keyboard_focus;
+   Ecore_Wl_Window *touch_focus;
 
    unsigned int button;
    unsigned int timestamp;

-- 


Reply via email to