Hello.
Good news, the XWayland-X11 team decided to develop a "add-on" library for libx11.so.
So developers using still X11 via XWayland can do their applications totally compatible using features of Wayland that are not given in libx11.
**s://gitlab.freedesktop.org/xorg/xserver/-/issues/1319
(I know that using directly Wayland is better than use XWayland but to do the migration it is looooot of work)