mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
wlr_pointer_gestures: hold gestures (protocol v3)
Update the pointer gestures protocol to version 3 allowing to send hold gestures to clients.
This commit is contained in:
parent
5f3e490c80
commit
20d9448257
2 changed files with 106 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ struct wlr_pointer_gestures_v1 {
|
|||
struct wl_global *global;
|
||||
struct wl_list swipes; // wl_resource_get_link
|
||||
struct wl_list pinches; // wl_resource_get_link
|
||||
struct wl_list holds; // wl_resource_get_link
|
||||
|
||||
struct wl_listener display_destroy;
|
||||
|
||||
|
|
@ -66,4 +67,15 @@ void wlr_pointer_gestures_v1_send_pinch_end(
|
|||
uint32_t time_msec,
|
||||
bool cancelled);
|
||||
|
||||
void wlr_pointer_gestures_v1_send_hold_begin(
|
||||
struct wlr_pointer_gestures_v1 *gestures,
|
||||
struct wlr_seat *seat,
|
||||
uint32_t time_msec,
|
||||
uint32_t fingers);
|
||||
void wlr_pointer_gestures_v1_send_hold_end(
|
||||
struct wlr_pointer_gestures_v1 *gestures,
|
||||
struct wlr_seat *seat,
|
||||
uint32_t time_msec,
|
||||
bool cancelled);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue