diff options
Diffstat (limited to 'include/wlr')
| -rw-r--r-- | include/wlr/types/wlr_cursor.h | 2 | ||||
| -rw-r--r-- | include/wlr/types/wlr_pointer.h | 4 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h index 70dca9f7..ffe149c9 100644 --- a/include/wlr/types/wlr_cursor.h +++ b/include/wlr/types/wlr_cursor.h @@ -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. diff --git a/include/wlr/types/wlr_pointer.h b/include/wlr/types/wlr_pointer.h index e7ac9b46..a8969b9e 100644 --- a/include/wlr/types/wlr_pointer.h +++ b/include/wlr/types/wlr_pointer.h @@ -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 { | 
