- Ubuntu 21 will use Wayland by default:
- Wayland is a replacement for X11
- Linux is 5% to 15% of sales for us vendors supporting Linux. A lot of those are based on Ubuntu-like distros.
Currently the VST3 SDK provides X11 support via:
const FIDString kPlatformTypeX11EmbedWindowID = "X11EmbedWindowID"; ///< X11 Window ID. (X11)
Adopt one additional constant such as:
const FIDString kPlatformTypeWaylandWindowID = "WaylandWindowID"; ///< Wayland Window ID. (Wayland )
Now, what should be given to
attach() ? There doesn’t seem to be a clear “Window” abstraction in Wayland. In first approximation, I think it could be a
wl_surface but only implementation by hosts will make this crystal clear.