mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Use int instead of wl_fixed_t for mouse coordinates
This commit is contained in:
parent
c805e42635
commit
679c7b397c
2 changed files with 5 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue