mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 11:27:47 +03:00
Do not truncate pointer coordinates to int.
This increases the precision of the clicks when using i3bar.
This commit is contained in:
parent
0f5157668d
commit
fca32b6334
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ struct swaybar_pointer {
|
|||
struct wl_cursor_image *cursor_image;
|
||||
struct wl_surface *cursor_surface;
|
||||
struct swaybar_output *current;
|
||||
int x, y;
|
||||
double x, y;
|
||||
uint32_t serial;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue