mirror of
https://github.com/swaywm/sway.git
synced 2026-02-22 01:40:39 -05:00
Merge 69ffa4437c into 3c0588a44f
This commit is contained in:
commit
19915988ae
6 changed files with 84 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ struct sway_cursor {
|
|||
struct wl_listener tool_tip;
|
||||
struct wl_listener tool_proximity;
|
||||
struct wl_listener tool_button;
|
||||
struct wl_listener tool_axis_scroll;
|
||||
bool simulating_pointer_from_tool_tip;
|
||||
bool simulating_pointer_from_tool_button;
|
||||
uint32_t tool_buttons;
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ struct sway_seatop_impl {
|
|||
struct wlr_touch_cancel_event *event);
|
||||
void (*tablet_tool_motion)(struct sway_seat *seat,
|
||||
struct sway_tablet_tool *tool, uint32_t time_msec);
|
||||
void (*tablet_tool_axis_scroll)(struct sway_seat *seat,
|
||||
struct sway_tablet_tool *tool, struct wlr_tablet_tool_axis_scroll_event *event);
|
||||
void (*tablet_tool_tip)(struct sway_seat *seat, struct sway_tablet_tool *tool,
|
||||
uint32_t time_msec, enum wlr_tablet_tool_tip_state state);
|
||||
void (*end)(struct sway_seat *seat);
|
||||
|
|
@ -300,6 +302,10 @@ void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec);
|
|||
void seatop_pointer_axis(struct sway_seat *seat,
|
||||
struct wlr_pointer_axis_event *event);
|
||||
|
||||
void seatop_tablet_tool_axis_scroll(struct sway_seat *seat,
|
||||
struct sway_tablet_tool *tool,
|
||||
struct wlr_tablet_tool_axis_scroll_event *event);
|
||||
|
||||
void seatop_tablet_tool_tip(struct sway_seat *seat,
|
||||
struct sway_tablet_tool *tool, uint32_t time_msec,
|
||||
enum wlr_tablet_tool_tip_state state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue