XWayland apps can't read wayland keyboard layout using the xkb API (libxkbfile)
I was trying to use an X11 app which uses libxkbfile to read the current keyboard layout. While it works fine on X11, on Xwayland it always reports "us" as the current (selected) layout. Doing a setxkbmap -query
(which should theoretically run under Xwayland) reveals that my keyboard layout settings are not inherited from wayland, but rather be the default "us" ones.
[nikolas@archlinux ~]$ setxkbmap -query
rules: evdev
model: pc105
layout: us
Thanks