Fix #109532: Added missing conversion from wl_fixed to int in Wayland #109834
@ -6097,8 +6097,8 @@ static GHOST_TSuccess getCursorPositionClientRelative_impl(
|
||||
y = wl_fixed_to_int(win->wl_fixed_to_window(xy_wrap[1]));
|
||||
}
|
||||
else {
|
||||
x = win->wl_fixed_to_window(seat_state_pointer->xy[0]);
|
||||
y = win->wl_fixed_to_window(seat_state_pointer->xy[1]);
|
||||
x = wl_fixed_to_int(win->wl_fixed_to_window(seat_state_pointer->xy[0]));
|
||||
y = wl_fixed_to_int(win->wl_fixed_to_window(seat_state_pointer->xy[1]));
|
||||
}
|
||||
|
||||
return GHOST_kSuccess;
|
||||
|
Loading…
Reference in New Issue
Block a user