davidedmundson added a comment.
Seems to be an XCB bug. We should have wrappers for both: XkbNewKeyboardNotify, XkbMapNotify, etc. and XkbNewKeyboardNotifyMask, XkbMapNotifyMask, etc. the latter being used for event selection masks. That's what XKB.h from X11 has, and XCB normally copies that. But you're right, XCB only has an enum with names from the first one and with the values from the second :/ --- My rules for workarounds is we should have an upstream bug report submitted and a comment in the code. There's a bug report already here: https://bugs.freedesktop.org/show_bug.cgi?id=51295 REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D17415 To: amantia, #plasma, #plasma_accessibility, aacid Cc: davidedmundson, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart