aboutsummaryrefslogtreecommitdiff
path: root/examples/support/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/support/shared.h')
-rw-r--r--examples/support/shared.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/support/shared.h b/examples/support/shared.h
index cf75f5fe..014b709e 100644
--- a/examples/support/shared.h
+++ b/examples/support/shared.h
@@ -95,12 +95,12 @@ struct compositor_state {
enum wlr_axis_source source,
enum wlr_axis_orientation orientation,
double delta);
- void (*touch_down_cb)(struct touch_state *s, int32_t slot,
+ void (*touch_down_cb)(struct touch_state *s, int32_t touch_id,
double x, double y, double width, double height);
- void (*touch_motion_cb)(struct touch_state *s, int32_t slot,
+ void (*touch_motion_cb)(struct touch_state *s, int32_t touch_id,
double x, double y, double width, double height);
- void (*touch_up_cb)(struct touch_state *s, int32_t slot);
- void (*touch_cancel_cb)(struct touch_state *s, int32_t slot);
+ void (*touch_up_cb)(struct touch_state *s, int32_t touch_id);
+ void (*touch_cancel_cb)(struct touch_state *s, int32_t touch_id);
void (*tool_axis_cb)(struct tablet_tool_state *s,
struct wlr_event_tablet_tool_axis *event);
void (*tool_proximity_cb)(struct tablet_tool_state *s,