chiark / gitweb /
terminal/idev: don't remove consumed-mods from kbd-matches
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 5 Oct 2014 15:44:09 +0000 (17:44 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 5 Oct 2014 16:02:28 +0000 (18:02 +0200)
commit62d5068d631fd655efe3ae4ad51fffe28e13e27a
tree7a971ccfcdc9b2f4881d58a6516f070623640eaa
parent34dbefceb1377ccd7871e183d7791f76fe879e73
terminal/idev: don't remove consumed-mods from kbd-matches

XKB consumed mods include modifiers that *didn't* affect the translation,
but might affect it if used. This is very misleading, given that we are
usually not interested in that information. Therefore, keep them in real
mods to behave like X11 does. Maybe at some point, XKB introduces proper
shortcut matching...

Also make evcat display consumed modifiers so we can better debug those
situations.
src/libsystemd-terminal/evcat.c
src/libsystemd-terminal/idev.h