diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-04 18:22:56 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-04 18:22:56 +0930 |
commit | 4509ec1daf8a03b261c1fa8aa48b5def3f336aed (patch) | |
tree | 091ba3940419146578492cd6639000b951254283 /src/draglock.c | |
parent | a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00 (diff) |
Use HAVE_PROPERTIES define instead of GET_ABI_MAJOR for property compilation.
Diffstat (limited to 'src/draglock.c')
-rw-r--r-- | src/draglock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/draglock.c b/src/draglock.c index 9ec78ab..f21ca4c 100644 --- a/src/draglock.c +++ b/src/draglock.c @@ -42,7 +42,7 @@ #include "evdev.h" -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 +#ifdef HAVE_PROPERTIES static const char *propname_dlock = "Drag Lock Buttons"; static Atom prop_dlock = 0; /* Drag lock buttons. */ @@ -209,7 +209,7 @@ EvdevDragLockFilterEvent(InputInfoPtr pInfo, unsigned int button, int value) return FALSE; } -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 +#ifdef HAVE_PROPERTIES /** * Initialise property for drag lock buttons setting. */ |