From 7f5d549c394a406152e3120d9a3724064feacb30 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 17 Jul 2011 13:08:39 +0000 Subject: Unifdef support for xinput ABI up to 10. --- driver/xf86-input-ws/src/emumb.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'driver/xf86-input-ws/src/emumb.c') diff --git a/driver/xf86-input-ws/src/emumb.c b/driver/xf86-input-ws/src/emumb.c index a105dedac..c9f6b0c59 100644 --- a/driver/xf86-input-ws/src/emumb.c +++ b/driver/xf86-input-ws/src/emumb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emumb.c,v 1.4 2011/05/08 10:38:13 matthieu Exp $ */ +/* $OpenBSD: emumb.c,v 1.5 2011/07/17 13:08:38 matthieu Exp $ */ /* * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany. * Copyright 1993 by David Dawes @@ -54,10 +54,9 @@ enum { MBEMU_AUTO }; -#ifdef HAVE_PROPERTIES 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: * @@ -354,7 +353,6 @@ wsmbEmuEnable(InputInfoPtr pInfo, BOOL enable) } -#ifdef HAVE_PROPERTIES static int wsmbEmuSetProperty(DeviceIntPtr dev, Atom atom, XIPropertyValuePtr val, BOOL checkonly) @@ -425,4 +423,3 @@ wsmbEmuInitProperty(DeviceIntPtr dev) XIRegisterPropertyHandler(dev, wsmbEmuSetProperty, NULL, NULL); } -#endif -- cgit v1.2.3