forked from enlightenment/efl
Add list of touch points to input structure, and a pointer to the
"touch" focused surface. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
125576d6a1
commit
e1dc4579fd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue