diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-04 11:32:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-04 11:32:36 +1000 |
commit | d8471bc7a19cd248fa3e0845496c86cd9251c013 (patch) | |
tree | fabd6be956a588674bd1d7e1f1f1bcf83daea9f1 /test | |
parent | 6de67d3206f0a4e307070714564c19efc84da2ec (diff) |
test: adjust event_to_core_conversion test for new ProximityIn/Out behaviour
Both types now return BadMatch.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/input.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/input.c b/test/input.c index 2221c0317..b80e1f57f 100644 --- a/test/input.c +++ b/test/input.c @@ -271,13 +271,19 @@ static void dix_event_to_core_conversion(void) rc = EventToCore((InternalEvent*)&ev, &core); g_assert(rc == BadImplementation); + ev.type = ET_ProximityIn; + rc = EventToCore((InternalEvent*)&ev, &core); + g_assert(rc == BadMatch); + + ev.type = ET_ProximityOut; + rc = EventToCore((InternalEvent*)&ev, &core); + g_assert(rc == BadMatch); + dix_event_to_core(ET_KeyPress); dix_event_to_core(ET_KeyRelease); dix_event_to_core(ET_ButtonPress); dix_event_to_core(ET_ButtonRelease); dix_event_to_core(ET_Motion); - dix_event_to_core(ET_ProximityIn); - dix_event_to_core(ET_ProximityOut); } static void xi2_struct_sizes(void) |