diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-28 10:46:50 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-28 10:46:50 -0400 |
commit | a35a5786b0e40cb1ffa87344d3cb21dff9fd99f4 (patch) | |
tree | 727523fb9b341f608827a0b848ef4798d346d65b /rootston | |
parent | 330ee081269790922a46091399b616b12ce14f51 (diff) |
Remove width_mm from wlr_pointer events
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c index 52439dff..c1fd7d31 100644 --- a/rootston/cursor.c +++ b/rootston/cursor.c @@ -288,8 +288,8 @@ void roots_cursor_handle_motion(struct roots_cursor *cursor, void roots_cursor_handle_motion_absolute(struct roots_cursor *cursor, struct wlr_event_pointer_motion_absolute *event) { - wlr_cursor_warp_absolute(cursor->cursor, event->device, - event->x_mm / event->width_mm, event->y_mm / event->height_mm); + wlr_cursor_warp_absolute(cursor->cursor, + event->device, event->x, event->y); roots_cursor_update_position(cursor, event->time_msec); } |