I'm attaching the standalone tests I was using to demonstrate this. They clear to blue when pressing down on the mouse, and green when releasing it. With upstream Wine, they are always one frame behind. [This is actually regardless of whether a parent or child window is used; I wanted to test both cases.]
[presenttest.c](/uploads/efd8ffcb2dcdbd30d7f46e9861ad91b8/presenttest.c)
[presenttest-gl.c](/uploads/03983e80b53ddaf2eb52f36a769e58bc/presenttest-gl.c)
[presenttest-vulkan.c](/uploads/38b761d314043dff80714ad995574a3e/presenttest-vulkan.c)