summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2002-11-12 22:20:42 +0000
committerKeith Packard <keithp@keithp.com>2002-11-12 22:20:42 +0000
commit3eaea6608bc33633c00860008f246f59ad5687a7 (patch)
tree7baf2d82dffd3c671a99a2883d2d496ed3a24ef5
parent612e82053d986df70bcc9c87038244eab8c3dc13 (diff)
Update ipaq-specific ts driver to match generic tslib version
-rw-r--r--hw/kdrive/linux/ts.c6
1 files 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;