From e1dc4579fdefd25bb1b10575cc7b74288efc0705 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 19 Nov 2013 10:32:51 +0000 Subject: [PATCH] Add list of touch points to input structure, and a pointer to the "touch" focused surface. Signed-off-by: Chris Michael --- 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; -- 2.7.4