summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-27 12:05:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-27 12:05:35 +1000
commit65919aae574a4536c0fa1506dc396725c3e710fe (patch)
tree0bf0afa168cd2e426931211aa061ef50d5873754 /tools
parent24ae6192bfbf67ec0a112b8a0cbb3925df58a5b8 (diff)
synclient: define XATOM_FLOAT if missing from xserver-properties.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/synclient.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/synclient.c b/tools/synclient.c
index 143068c..fda1d88 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -47,6 +47,10 @@
#include "synaptics-properties.h"
#include <xserver-properties.h>
+#ifndef XATOM_FLOAT
+#define XATOM_FLOAT "FLOAT"
+#endif
+
enum ParaType {
PT_INT,
PT_BOOL,