[PATCH] synaptics: abi 20.0 should disable driver scaling too
Maarten Lankhorst
maarten.lankhorst at canonical.com
Mon Feb 17 04:49:53 PST 2014
.. At least I really hope that this is the case.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
---
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index a9901a2..0b3ff6e 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -28,13 +28,11 @@
#define LogMessageVerbSigSafe xf86MsgVerb
#endif
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 19
-#if GET_ABI_MINOR(ABI_XINPUT_VERSION) >= 2
+#if ABI_XINPUT_VERSION >= SET_ABI_VERSION(19, 2)
/* as of 19.2, the server takes device resolution into account when scaling
relative events from abs device, so we must not scale in synaptics. */
#define NO_DRIVER_SCALING 1
#endif
-#endif
#ifdef DBG
#undef DBG
More information about the xorg-devel
mailing list