From c77e3d8c0c069d5ee0cb618f90817a5520b9d4fe Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Mon, 1 Oct 2012 14:07:23 +0200 Subject: [PATCH] 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 --- tests/test_input.c | 14 ++++---------- 1 file 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"); } -- 2.7.4