diff options
author | David Eklov <david.eklov@gmail.com> | 2016-07-11 00:03:15 -0500 |
---|---|---|
committer | David Eklov <david.eklov@gmail.com> | 2016-07-14 17:18:01 -0500 |
commit | 679c7b397c4e9dfdc69d6c67c523494dfe987f60 (patch) | |
tree | 54d2d114b4a25a10f4d11a64303cd9e949bed032 /include | |
parent | Extract workspace size computation from render_workspace_button() (diff) | |
download | sway-679c7b397c4e9dfdc69d6c67c523494dfe987f60.tar.gz sway-679c7b397c4e9dfdc69d6c67c523494dfe987f60.tar.zst sway-679c7b397c4e9dfdc69d6c67c523494dfe987f60.zip |
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 { | |||
28 | }; | 28 | }; |
29 | 29 | ||
30 | struct pointer_input { | 30 | struct pointer_input { |
31 | wl_fixed_t last_x; | 31 | int last_x; |
32 | wl_fixed_t last_y; | 32 | int last_y; |
33 | 33 | ||
34 | void (*notify)(struct window *window, wl_fixed_t x, wl_fixed_t y, uint32_t button); | 34 | void (*notify)(struct window *window, int x, int y, uint32_t button); |
35 | }; | 35 | }; |
36 | 36 | ||
37 | struct window { | 37 | struct window { |