aboutsummaryrefslogtreecommitdiff
path: root/include/client
diff options
context:
space:
mode:
authorDavid Eklov <david.eklov@gmail.com>2016-07-11 00:03:15 -0500
committerDavid Eklov <david.eklov@gmail.com>2016-07-14 17:18:01 -0500
commit679c7b397c4e9dfdc69d6c67c523494dfe987f60 (patch)
tree54d2d114b4a25a10f4d11a64303cd9e949bed032 /include/client
parentc805e42635f3935ccf0ce927143433b94c78a3e7 (diff)
downloadsway-679c7b397c4e9dfdc69d6c67c523494dfe987f60.tar.xz
Use int instead of wl_fixed_t for mouse coordinates
Diffstat (limited to 'include/client')
-rw-r--r--include/client/window.h6
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 {