aboutsummaryrefslogtreecommitdiff
path: root/examples/support/shared.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-19 22:28:51 +0100
committeremersion <contact@emersion.fr>2017-11-19 22:28:51 +0100
commit7904b625f0c6a8cef684d60ba136de1ba48e848e (patch)
tree3d7001509a6229e1b17a0f4c26960e720857c8a9 /examples/support/shared.h
parent7375931686e6a58c08a7727ce2f5d88e0be9adfa (diff)
parentfae8d6289a470b8abcf36a5f4b0030ef504caf0b (diff)
Merge branch 'master' into laggy-move-resize
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,