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

Gaetan Nadon gaetan.nadon at videotron.ca
Tue Jul 5 13:07:29 PDT 2011


On Tue, 2011-07-05 at 09:48 +1000, Peter Hutterer wrote:

> 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"

Acked-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110705/427c1f16/attachment.htm>


More information about the xorg-devel mailing list