mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
Address review feedback
This commit is contained in:
parent
168f65fb7a
commit
746e3759b7
2 changed files with 9 additions and 6 deletions
|
|
@ -162,8 +162,8 @@ static void wl_pointer_leave(void *data, struct wl_pointer *wl_pointer,
|
|||
|
||||
static void wl_pointer_motion(void *data, struct wl_pointer *wl_pointer,
|
||||
uint32_t time, wl_fixed_t surface_x, wl_fixed_t surface_y) {
|
||||
cur_x = (int)wl_fixed_to_double(surface_x);
|
||||
cur_y = (int)wl_fixed_to_double(surface_y);
|
||||
cur_x = wl_fixed_to_int(surface_x);
|
||||
cur_y = wl_fixed_to_int(surface_y);
|
||||
}
|
||||
|
||||
static void wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue