diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-07-05 16:18:36 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-15 13:30:47 +1000 |
commit | 999ef55457008b491b7acad7cee130893d0d7ab2 (patch) | |
tree | fd5577fe8157dc1fd9237194666b18767e1df90d /xts5/Xt6/TransientShellWidget/TransientShellWidget.m | |
parent | 99f45dcaf34f6dbb7c9a2e6944e42b9b166761c9 (diff) |
XSetModfierMapping reports FAIL due to a different ordering of the modifiers
in the return value.
The server keeps the modifiers in a different format than used by the core
protocol. The modifier map returned by XGetModifierMapping(3) always has the
keycodes in ascending order for each modifier.
A straight input_map[i] == output_map[i] comparison is not enough if the
input map is not in order. Instead, all values for each modifier need to be
compared to find the right modifier.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xts5/Xt6/TransientShellWidget/TransientShellWidget.m')
0 files changed, 0 insertions, 0 deletions