4 Dec
2023
4 Dec
'23
6:25 p.m.
Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/wayland_pointer.c:
__wine_send_input(hwnd, &input, NULL); }
+static void pointer_handle_motion(void *data, struct wl_pointer *wl_pointer, + uint32_t time, wl_fixed_t sx, wl_fixed_t sy) +{ + struct wayland_pointer *pointer = &process_wayland.pointer; + + /* Ignore absolute motion events if in relative mode. */ + if (pointer->zwp_relative_pointer_v1) return;
We may want to keep the absolute motion too to avoid any skew with the relative motion? I believe winex11 does that, and wineserver would skip any unnecessary moves. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4593#note_54908