From 679c7b397c4e9dfdc69d6c67c523494dfe987f60 Mon Sep 17 00:00:00 2001 From: David Eklov Date: Mon, 11 Jul 2016 00:03:15 -0500 Subject: Use int instead of wl_fixed_t for mouse coordinates --- include/client/window.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/client/window.h') diff --git a/include/client/window.h b/include/client/window.h index 7be4fff3..55a12225 100644 --- a/include/client/window.h +++ b/include/client/window.h @@ -28,10 +28,10 @@ struct cursor { }; struct pointer_input { - wl_fixed_t last_x; - wl_fixed_t last_y; + int last_x; + int last_y; - void (*notify)(struct window *window, wl_fixed_t x, wl_fixed_t y, uint32_t button); + void (*notify)(struct window *window, int x, int y, uint32_t button); }; struct window { -- cgit v1.2.3-54-g00ecf