8ad1a9300a
This backports commits cb6e55988b6fc6 and 2922123124 from
emulators/wine-devel, just sorts in additions a bit more logically.
Wayland support is not on by default (yet).
PR: 282825