FWIW, here is a gdb backtrace with a break point set on XkbSendLegacyMapNotify, probably the source of the MappingNotify event. Apparently the keyboard device changes from physical to on-screen keyboard and the two devices don't share the same keyboard map (?).
FWIW, here is a gdb backtrace with a break point set on XkbSendLegacyMa pNotify, probably the source of the MappingNotify event. Apparently the keyboard device changes from physical to on-screen keyboard and the two devices don't share the same keyboard map (?).