Currently we only test Xorg server using xkbcomp, but XWayland requires to be tested slightly differently.
This is motivated by this comment:
I found my mistake: keymap received from Wayland is processed using XkbCompileKeymapFromString(), which then call XkbDDXLoadKeymapFromString() which finally calls RunXkbComp(). But this does not load the keymap in the server and instead creates a .xkm file. The call to XkbDeviceApplyKeymap() is where the server is updated.
Currently we only test Xorg server using xkbcomp, but XWayland requires to be tested slightly differently.
This is motivated by this comment: