Add list of touch points to input structure, and a pointer to the
authorChris Michael <cp.michael@samsung.com>
Tue, 19 Nov 2013 10:32:51 +0000 (10:32 +0000)
committerChris Michael <cp.michael@samsung.com>
Tue, 19 Nov 2013 10:38:23 +0000 (10:38 +0000)
"touch" focused surface.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_wayland/ecore_wl_private.h

index 9221117..adb9dcd 100644 (file)
@@ -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;