aboutsummaryrefslogtreecommitdiff
path: root/example/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/shared.h')
-rw-r--r--example/shared.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/shared.h b/example/shared.h
index ca558f1c..7f0dade5 100644
--- a/example/shared.h
+++ b/example/shared.h
@@ -51,6 +51,10 @@ struct compositor_state {
double d_x, double d_y);
void (*pointer_button_cb)(struct pointer_state *s,
uint32_t button, enum wlr_button_state state);
+ void (*pointer_axis_cb)(struct pointer_state *s,
+ enum wlr_axis_source source,
+ enum wlr_axis_orientation orientation,
+ double delta);
struct wl_display *display;
struct wl_event_loop *event_loop;