aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pointer.c')
-rw-r--r--examples/pointer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pointer.c b/examples/pointer.c
index f3361973..8c3c8b85 100644
--- a/examples/pointer.c
+++ b/examples/pointer.c
@@ -285,7 +285,7 @@ int main(int argc, char *argv[]) {
state.cursor_motion.notify = handle_cursor_motion;
wl_signal_add(&state.cursor->events.motion_absolute,
- &state.cursor_motion_absolute);
+ &state.cursor_motion_absolute);
state.cursor_motion_absolute.notify = handle_cursor_motion_absolute;
wl_signal_add(&state.cursor->events.button, &state.cursor_button);
@@ -309,7 +309,7 @@ int main(int argc, char *argv[]) {
// tool events
wl_signal_add(&state.cursor->events.tablet_tool_axis,
- &state.tablet_tool_axis);
+ &state.tablet_tool_axis);
state.tablet_tool_axis.notify = handle_tablet_tool_axis;
struct compositor_state compositor = { 0 };