[PATCH synaptics] tools: don't include xserver-properties.h

Peter Hutterer peter.hutterer at who-t.net
Mon Jul 4 16:48:01 PDT 2011


Remove the header inclusion to avoid dependency of synclient on the xserver
headers. The only property we need from the server is FLOAT and we can
simply define that here.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 tools/synclient.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/synclient.c b/tools/synclient.c
index 9776d23..08bd22b 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -45,7 +45,6 @@
 #include <X11/extensions/XInput.h>
 #include "synaptics.h"
 #include "synaptics-properties.h"
-#include <xserver-properties.h>
 
 #ifndef XATOM_FLOAT
 #define XATOM_FLOAT "FLOAT"
-- 
1.7.5.4


More information about the xorg-devel mailing list