diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-10-01 14:07:23 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-10-01 14:07:23 +0200 |
commit | c77e3d8c0c069d5ee0cb618f90817a5520b9d4fe (patch) | |
tree | 634cfdf1fc8b2139d0ee3239498db2aa0160a1a0 /tests | |
parent | 639da5337b6993aa530241b08d0903a16f79aef7 (diff) |
test_input: fix compilation with changed input API
We dropped unused modifiers so we have to fix test_input not to print them
out.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_input.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/tests/test_input.c b/tests/test_input.c index ef71cb7..5e32ba3 100644 --- a/tests/test_input.c +++ b/tests/test_input.c @@ -76,16 +76,10 @@ static void print_modifiers(unsigned int mods) printf("LOCK "); if (mods & UTERM_CONTROL_MASK) printf("CONTROL "); - if (mods & UTERM_MOD1_MASK) - printf("MOD1 "); - if (mods & UTERM_MOD2_MASK) - printf("MOD2 "); - if (mods & UTERM_MOD3_MASK) - printf("MOD3 "); - if (mods & UTERM_MOD4_MASK) - printf("MOD4 "); - if (mods & UTERM_MOD5_MASK) - printf("MOD5 "); + if (mods & UTERM_ALT_MASK) + printf("ALT "); + if (mods & UTERM_LOGO_MASK) + printf("LOGO "); printf("\n"); } |