[PATCH xserver 03/17] Test: Input: ET_ProximityOut + 1 is ET_DeviceChanged

Daniel Stone daniel at fooishbar.org
Tue Dec 28 09:57:54 PST 2010


I'm not exactly sure what this test is supposed to do, but
ET_ProximityOut + 1 works out to ET_DeviceChanged, so just use that
instead.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 test/input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/input.c b/test/input.c
index c389a40..e443f75 100644
--- a/test/input.c
+++ b/test/input.c
@@ -274,7 +274,7 @@ static void dix_event_to_core_conversion(void)
 {
     dix_event_to_core_fail(0, BadImplementation);
     dix_event_to_core_fail(1, BadImplementation);
-    dix_event_to_core_fail(ET_ProximityOut + 1, BadImplementation);
+    dix_event_to_core_fail(ET_DeviceChanged, BadImplementation);
     dix_event_to_core_fail(ET_ProximityIn, BadMatch);
     dix_event_to_core_fail(ET_ProximityOut, BadMatch);
 
-- 
1.7.2.3



More information about the xorg-devel mailing list