diff options
author | Peter Hutterer <peter.hutterer@redhat.com> | 2008-08-22 14:07:17 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-09-04 18:14:48 +0930 |
commit | a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00 (patch) | |
tree | 81bce9517937cfbb974966f65da176d491ce769c /src/emuMB.c | |
parent | Wheel emulation: initial values must be char. (diff) | |
download | xf86-input-evdev-a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00.tar.gz xf86-input-evdev-a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00.tar.bz2 xf86-input-evdev-a205dfc091e6d7c67e3fa1421fe8a43f5ed40b00.zip |
Shut up "unused variable" compiler warnings.
Hide properties behind ifdefs, fake use of "val".
Diffstat (limited to 'src/emuMB.c')
-rw-r--r-- | src/emuMB.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emuMB.c b/src/emuMB.c index 40175bf..5cb69e1 100644 --- a/src/emuMB.c +++ b/src/emuMB.c @@ -47,12 +47,14 @@ enum { MBEMU_AUTO }; +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 static const char *propname_mbemu = "Middle Button Emulation"; static const char *propname_mbtimeout = "Middle Button Timeout"; static Atom prop_mbemu = 0; /* Middle button emulation on/off property */ static Atom prop_mbtimeout = 0; /* Middle button timeout property */ +#endif /* * Lets create a simple finite-state machine for 3 button emulation: * |