From 3eaea6608bc33633c00860008f246f59ad5687a7 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 12 Nov 2002 22:20:42 +0000 Subject: Update ipaq-specific ts driver to match generic tslib version --- hw/kdrive/linux/ts.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hw/kdrive/linux/ts.c b/hw/kdrive/linux/ts.c index c6fad1bd1..f7e6ad4cc 100644 --- a/hw/kdrive/linux/ts.c +++ b/hw/kdrive/linux/ts.c @@ -1,5 +1,5 @@ /* - * $XFree86: xc/programs/Xserver/hw/kdrive/linux/ts.c,v 1.8 2002/08/02 16:30:50 keithp Exp $ + * $XFree86: xc/programs/Xserver/hw/kdrive/linux/ts.c,v 1.9 2002/08/15 18:07:48 keithp Exp $ * * Derived from ps2.c by Jim Gettys * @@ -46,8 +46,6 @@ typedef struct { #endif static long lastx = 0, lasty = 0; -int TsScreen; -extern int TsFbdev; int TsReadBytes (int fd, char *buf, int len, int min) @@ -103,7 +101,7 @@ TsRead (int tsPort, void *closure) * touch screen, if it is we send absolute coordinates. If not, * then we send delta's so that we can track the entire vga screen. */ - if (TsScreen == TsFbdev) { + if (KdTsCurScreen == KdTsPhyScreen) { flags = KD_BUTTON_1; x = event.x; y = event.y; -- cgit v1.2.3