続 xf86-input-ws

ぐぬぬキャリブレーション情報を取得してないし。修正したら問題無く動作するようになった。

Index: ws.c
===================================================================
RCS file: /cvsroot/xsrc/external/mit/xf86-input-ws/dist/src/ws.c,v
retrieving revision 1.3
diff -u -r1.3 ws.c
--- ws.c	11 Dec 2009 16:04:30 -0000	1.3
+++ ws.c	12 Dec 2009 09:17:34 -0000
@@ -281,7 +281,6 @@
 		    dev->identifier);
 	}
 
-#ifndef __NetBSD__
 	if (priv->type == WSMOUSE_TYPE_TPANEL && priv->raw) {
 		if (ioctl(pInfo->fd, WSMOUSEIO_GCALIBCOORDS,
 			&priv->coords) != 0) {
@@ -297,15 +296,13 @@
 		priv->min_y = priv->coords.miny;
 		priv->max_y = priv->coords.maxy;
 	} else {
-#endif
 		/* in calibrated mode, coordinate space, is screen coords */
 		priv->min_x = 0;
 		priv->max_x = screenInfo.screens[priv->screen_no]->width - 1;
 		priv->min_y = 0;
 		priv->max_y = screenInfo.screens[priv->screen_no]->height - 1;
-#ifndef __NetBSD__
 	}
-#endif
+
 	/* Allow options to override this */
 	priv->min_x = xf86SetIntOption(pInfo->options, "MinX", priv->min_x);
 	xf86Msg(X_INFO, "%s minimum x position: %d\n",