31 Oct
2023
31 Oct
'23
12:48 p.m.
Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/wayland_surface.c:
* Expects 'count' pairs of (int wine_coord, int *wl_coord) parameters. */ void wayland_surface_coords_from_wine_rounded(struct wayland_surface *surface, int count, ...) A vararg function seems overkill, I think you could simply have a function converting a point (or even a single coordinate) at a time.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4203#note_50302