Remove width_mm from wlr_pointer events

This commit is contained in:
Drew DeVault 2018-03-28 10:46:50 -04:00
parent 330ee08126
commit a35a5786b0
10 changed files with 22 additions and 30 deletions

View file

@ -73,7 +73,7 @@ bool wlr_cursor_warp(struct wlr_cursor *cur, struct wlr_input_device *dev,
double x, double y);
void wlr_cursor_warp_absolute(struct wlr_cursor *cur,
struct wlr_input_device *dev, double x_mm, double y_mm);
struct wlr_input_device *dev, double x, double y);
/**
* Move the cursor in the direction of the given x and y coordinates.

View file

@ -29,8 +29,8 @@ struct wlr_event_pointer_motion {
struct wlr_event_pointer_motion_absolute {
struct wlr_input_device *device;
uint32_t time_msec;
double x_mm, y_mm;
double width_mm, height_mm;
// From 0..1
double x, y;
};
struct wlr_event_pointer_button {