It does not “translate” or convert X11 windows, but rather forwards them as is over wayland input devices as Wayland surfaces to the underlying Wayland compositor.
Xwayland server still runs the same code as the regular X server, but relies on the Wayland compositor for presentation and composition of the X11 windows.
“translation” suggests conversion of X11 API calls or other code, which is not happening here.
So… isnt the X window translated to a Wayland surface?
It does not “translate” or convert X11 windows, but rather forwards them as is over wayland input devices as Wayland surfaces to the underlying Wayland compositor.
Xwayland server still runs the same code as the regular X server, but relies on the Wayland compositor for presentation and composition of the X11 windows.
“translation” suggests conversion of X11 API calls or other code, which is not happening here.
https://wayland.freedesktop.org/xserver.html
Interesting, thanks!