aboutsummaryrefslogtreecommitdiff
path: root/examples/support
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 10:46:50 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-28 10:46:50 -0400
commita35a5786b0e40cb1ffa87344d3cb21dff9fd99f4 (patch)
tree727523fb9b341f608827a0b848ef4798d346d65b /examples/support
parent330ee081269790922a46091399b616b12ce14f51 (diff)
Remove width_mm from wlr_pointer events
Diffstat (limited to 'examples/support')
-rw-r--r--examples/support/shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/support/shared.c b/examples/support/shared.c
index e6233206..c6460374 100644
--- a/examples/support/shared.c
+++ b/examples/support/shared.c
@@ -108,8 +108,8 @@ static void pointer_motion_absolute_notify(struct wl_listener *listener, void *d
struct wlr_event_pointer_motion_absolute *event = data;
struct pointer_state *pstate = wl_container_of(listener, pstate, motion_absolute);
if (pstate->compositor->pointer_motion_absolute_cb) {
- pstate->compositor->pointer_motion_absolute_cb(pstate,
- event->x_mm, event->y_mm);
+ pstate->compositor->pointer_motion_absolute_cb(
+ pstate, event->x, event->y);
}
}