After reading through the discussion, it occurs to me that a wine driver could be written to connect directly to the Xwayland socket and act like Xorg and reuse all the Xwayland infrastructure. There was a reason the Xorg approach was used, and Wine faces many of the same complications which led down that path. It would also simplify rootless and rootful operation.