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/draglock.c | |
parent | 184206e7174dc08239d6a78a1ca912176e3f6229 (diff) |
Shut up "unused variable" compiler warnings.
Hide properties behind ifdefs, fake use of "val".
Diffstat (limited to 'src/draglock.c')
-rw-r--r-- | src/draglock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/draglock.c b/src/draglock.c index da0e7f8..9ec78ab 100644 --- a/src/draglock.c +++ b/src/draglock.c @@ -42,11 +42,13 @@ #include "evdev.h" +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 static const char *propname_dlock = "Drag Lock Buttons"; static Atom prop_dlock = 0; /* Drag lock buttons. */ void EvdevDragLockLockButton(InputInfoPtr pInfo, unsigned int button); +#endif /* Setup and configuration code */ |