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/emuMB.c | |
parent | a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00 (diff) |
Use HAVE_PROPERTIES define instead of GET_ABI_MAJOR for property compilation.
Diffstat (limited to 'src/emuMB.c')
-rw-r--r-- | src/emuMB.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emuMB.c b/src/emuMB.c index 5cb69e1..e805a23 100644 --- a/src/emuMB.c +++ b/src/emuMB.c @@ -47,7 +47,7 @@ enum { MBEMU_AUTO }; -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 +#ifdef HAVE_PROPERTIES static const char *propname_mbemu = "Middle Button Emulation"; static const char *propname_mbtimeout = "Middle Button Timeout"; @@ -324,7 +324,7 @@ EvdevMBEmuPreInit(InputInfoPtr pInfo) EvdevMBEmuWakeupHandler, (pointer)pInfo); -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 +#ifdef HAVE_PROPERTIES XIChangeDeviceProperty(pInfo->dev, prop_mbemu, XA_INTEGER, 8, PropModeReplace, 1, &pEvdev->emulateMB.enabled, TRUE, FALSE, FALSE); @@ -353,7 +353,7 @@ EvdevMBEmuEnable(InputInfoPtr pInfo, BOOL enable) } -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 +#ifdef HAVE_PROPERTIES /** * Initialise property for MB emulation on/off. */ |