Can’t wait to experiment with an OCaml wayland client
There’s a minimal example client here, which might be useful as a starting point: ocaml-wayland/example/test.ml at master · talex5/ocaml-wayland · GitHub
Do you think your approach dealing with HiDPI works only because you’re using a proxy? There have been a few patchsets trying to add HiDPI support to Xwayland, but none got approved by the community.
No, it could be done in the compositor or in Xwayland too. All I’m doing is reversing Wayland’s broken attempts at supporting HiDPI, so that X applications can use their existing support. The PRs seem to be about trying to support multiple monitors with different scale factors, whereas I’m happy to have it working just on one monitor!