mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-07-11 11:03:58 -04:00
WIP: implement touch scrolling
This commit is contained in:
parent
a2db3cdd5b
commit
6f0327eb43
4 changed files with 122 additions and 3 deletions
10
wayland.h
10
wayland.h
|
|
@ -157,6 +157,16 @@ struct seat {
|
|||
bool have_discrete;
|
||||
} mouse;
|
||||
|
||||
/* Pointer state */
|
||||
struct wl_touch *wl_touch;
|
||||
struct {
|
||||
uint32_t serial; // Unused for now; usable later for copying.
|
||||
int32_t id;
|
||||
struct wl_surface *surface;
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
} touch;
|
||||
|
||||
/* Clipboard */
|
||||
struct wl_data_device *data_device;
|
||||
struct zwp_primary_selection_device_v1 *primary_selection_device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue