aboutsummaryrefslogtreecommitdiff
path: root/examples/pointer.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-21 09:43:24 -0400
committerGitHub <noreply@github.com>2017-10-21 09:43:24 -0400
commit3c7ef3aae68e1a38c0ab83c22c0e064b7bde319e (patch)
treeca85d4ac1f277ca0f997bcffb7adfe36e5157205 /examples/pointer.c
parenta87b60e31e5288c1c3e8c8f94c9a7ccb29e38b54 (diff)
parentce2f945441155fa9d98935dabd6979304f2d2fbc (diff)
Merge branch 'master' into feature/data-device-selection
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 238be9b3..92faaf0c 100644
--- a/examples/pointer.c
+++ b/examples/pointer.c
@@ -284,7 +284,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);
@@ -308,7 +308,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 };