mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04:00
implement touch support
this is mostly plumbing; the most interesting logic is in touch_get_coords
This commit is contained in:
parent
06042337d6
commit
600d8af915
4 changed files with 137 additions and 0 deletions
|
|
@ -107,6 +107,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;
|
||||
|
|
@ -477,6 +482,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