Query XWayland version
Is there a simple way to query the version of XWayland binary at runtime? Compositors could use that information to optimize for available features in respective XWayland version.
For example how would that be:
Xwayland -version returning
120700 for current release 1.20.7 and
120991 for current version on master.