mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
cursor: support pointer gestures (pinch/swipe)
This commit is contained in:
parent
58f5e8d16a
commit
80315295d2
2 changed files with 85 additions and 0 deletions
|
|
@ -30,6 +30,7 @@
|
|||
#include <wlr/types/wlr_relative_pointer_v1.h>
|
||||
#include <wlr/types/wlr_pointer.h>
|
||||
#include <wlr/types/wlr_pointer_constraints_v1.h>
|
||||
#include <wlr/types/wlr_pointer_gestures_v1.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
#include <wlr/types/wlr_server_decoration.h>
|
||||
#include <wlr/types/wlr_xcursor_manager.h>
|
||||
|
|
@ -87,6 +88,14 @@ struct seat {
|
|||
struct wl_listener cursor_axis;
|
||||
struct wl_listener cursor_frame;
|
||||
|
||||
struct wlr_pointer_gestures_v1 *pointer_gestures;
|
||||
struct wl_listener pinch_begin;
|
||||
struct wl_listener pinch_update;
|
||||
struct wl_listener pinch_end;
|
||||
struct wl_listener swipe_begin;
|
||||
struct wl_listener swipe_update;
|
||||
struct wl_listener swipe_end;
|
||||
|
||||
struct wl_listener request_cursor;
|
||||
struct wl_listener request_set_selection;
|
||||
struct wl_listener request_set_primary_selection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue