aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index e5aa8478..428f9679 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -17,7 +17,7 @@ struct sway_seat;
17struct sway_seatop_impl { 17struct sway_seatop_impl {
18 void (*button)(struct sway_seat *seat, uint32_t time_msec, 18 void (*button)(struct sway_seat *seat, uint32_t time_msec,
19 struct wlr_input_device *device, uint32_t button, 19 struct wlr_input_device *device, uint32_t button,
20 enum wlr_button_state state); 20 enum wl_pointer_button_state state);
21 void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec); 21 void (*pointer_motion)(struct sway_seat *seat, uint32_t time_msec);
22 void (*pointer_axis)(struct sway_seat *seat, 22 void (*pointer_axis)(struct sway_seat *seat,
23 struct wlr_pointer_axis_event *event); 23 struct wlr_pointer_axis_event *event);
@@ -124,6 +124,7 @@ struct sway_seat {
124 struct wl_listener start_drag; 124 struct wl_listener start_drag;
125 struct wl_listener request_set_selection; 125 struct wl_listener request_set_selection;
126 struct wl_listener request_set_primary_selection; 126 struct wl_listener request_set_primary_selection;
127 struct wl_listener destroy;
127 128
128 struct wl_list devices; // sway_seat_device::link 129 struct wl_list devices; // sway_seat_device::link
129 struct wl_list keyboard_groups; // sway_keyboard_group::link 130 struct wl_list keyboard_groups; // sway_keyboard_group::link
@@ -286,13 +287,13 @@ struct sway_container *seat_get_focus_inactive_floating(struct sway_seat *seat,
286 struct sway_workspace *workspace); 287 struct sway_workspace *workspace);
287 288
288void seat_pointer_notify_button(struct sway_seat *seat, uint32_t time_msec, 289void seat_pointer_notify_button(struct sway_seat *seat, uint32_t time_msec,
289 uint32_t button, enum wlr_button_state state); 290 uint32_t button, enum wl_pointer_button_state state);
290 291
291void seat_consider_warp_to_focus(struct sway_seat *seat); 292void seat_consider_warp_to_focus(struct sway_seat *seat);
292 293
293void seatop_button(struct sway_seat *seat, uint32_t time_msec, 294void seatop_button(struct sway_seat *seat, uint32_t time_msec,
294 struct wlr_input_device *device, uint32_t button, 295 struct wlr_input_device *device, uint32_t button,
295 enum wlr_button_state state); 296 enum wl_pointer_button_state state);
296 297
297void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec); 298void seatop_pointer_motion(struct sway_seat *seat, uint32_t time_msec);
298 299