diff options
-rw-r--r-- | tests/server/xi2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/xi2.cpp b/tests/server/xi2.cpp index e863827..9fd7713 100644 --- a/tests/server/xi2.cpp +++ b/tests/server/xi2.cpp @@ -114,6 +114,7 @@ TEST_P(XInput2Test, XIQueryPointerTouchscreen) XFreeEventData(Display(), xcookie); } +#ifdef HAVE_XI22 TEST_P(XInput2Test, DisableDeviceEndTouches) { SCOPED_TRACE("When a device is disabled, any physically active touches\n" @@ -193,5 +194,6 @@ TEST_P(XInput2Test, DisableDeviceEndTouches) xi2_opcode_, XI_TouchEnd)); } +#endif INSTANTIATE_TEST_CASE_P(, XInput2Test, ::testing::Range(0, 3)); |