diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-07-11 00:03:15 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-07-11 00:03:15 -0500 |
| commit | 59a2213b1675d425855e18132cce34df9279dabc (patch) | |
| tree | 54d2d114b4a25a10f4d11a64303cd9e949bed032 /include | |
| parent | ed9a50fcb5eed5ddfefb417cf14cbc5b8a632c3c (diff) | |
Use int instead of wl_fixed_t for mouse coordinates
Diffstat (limited to 'include')
| -rw-r--r-- | include/client/window.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |
