mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
implement touch support
this is mostly plumbing; the most interesting logic is in touch_get_coords
This commit is contained in:
parent
a2a2e093ef
commit
4c3bae0794
4 changed files with 137 additions and 0 deletions
|
|
@ -119,6 +119,11 @@ struct seat {
|
|||
struct wl_listener keyboard_key;
|
||||
struct wl_listener keyboard_modifiers;
|
||||
|
||||
struct wl_listener touch_down;
|
||||
struct wl_listener touch_up;
|
||||
struct wl_listener touch_motion;
|
||||
struct wl_listener touch_frame;
|
||||
|
||||
struct wl_listener request_start_drag;
|
||||
struct wl_listener start_drag;
|
||||
struct wl_listener destroy_drag;
|
||||
|
|
@ -498,6 +503,9 @@ void cursor_finish(struct seat *seat);
|
|||
void keyboard_init(struct seat *seat);
|
||||
void keyboard_finish(struct seat *seat);
|
||||
|
||||
void touch_init(struct seat *seat);
|
||||
void touch_finish(struct seat *seat);
|
||||
|
||||
void seat_init(struct server *server);
|
||||
void seat_finish(struct server *server);
|
||||
void seat_reconfigure(struct server *server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue