Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/wayland_pointer.c:
- input.mi.dx = screen.x;
- input.mi.dy = screen.y;
- input.mi.dx = round(pointer->accum_x);
- input.mi.dy = round(pointer->accum_y); input.mi.dwFlags = MOUSEEVENTF_MOVE;
- TRACE("hwnd=%p wayland_dxdy=%.2f,%.2f screen_dxdy=%d,%d\n",
hwnd, wl_fixed_to_double(dx), wl_fixed_to_double(dy),
(int)screen.x, (int)screen.y);
- pointer->accum_x -= input.mi.dx;
- pointer->accum_y -= input.mi.dy;
- pthread_mutex_unlock(&pointer->mutex);
- TRACE("hwnd=%p wayland_dxdy=%.2f,%.2f accum_dxdy=%d,%d\n",
hwnd, wl_fixed_to_double(dx), wl_fixed_to_double(dy),
Nit: alignment