summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero2012-11-15 15:36:13 +0100
committerRoberto E. Vargas Caballero2012-11-15 15:36:13 +0100
commit88bb76c1bccbc8bb68b6776062cd2ef28bda8561 (patch)
tree98f887a38b895e34fac0140f608accebfdbef177 /TODO
parent16ccf344deccbae53865b6efbe9dc23ebdceccb7 (diff)
downloadst-88bb76c1bccbc8bb68b6776062cd2ef28bda8561.tar.gz
st-88bb76c1bccbc8bb68b6776062cd2ef28bda8561.tar.xz
st-88bb76c1bccbc8bb68b6776062cd2ef28bda8561.zip
Fix XK_NO_MOD and XK_ANY_MOD behavior
XK_NO_MOD match a key without modifiers and XK_ANY_MOD match a key does not matter what modifiers are pressed to. Like they are mask the best value for XK_ANY_MOD is all the bits to 1, so the and with any state will be equal to the state. This also imply that is necessary check the case for XK_NO_MOD (no modifiers at all) with some modifier in state, and the inverse (some mask different to XK_ANY_MOD or XK_NO_MOD and no modifiers in state). --- st.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions