diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2008-08-28 14:29:51 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2008-08-28 14:29:51 +0000 |
commit | 0ec22907c8983baff8641f28eb0ffd223f107300 (patch) | |
tree | 193f91a022f23347774ee1c71ac838f88bda9acb | |
parent | bb2477a4e68e8f79b14493bea04ad7983fd72a3d (diff) |
Make the xf86-input-elographics driver actually work. Don't stall the
X server by staying in an infinite loop. Took me almost a day to find.
help and ok oga@
-rw-r--r-- | driver/xf86-input-elographics/src/xf86Elo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-input-elographics/src/xf86Elo.c b/driver/xf86-input-elographics/src/xf86Elo.c index c107927df..3f2e59f86 100644 --- a/driver/xf86-input-elographics/src/xf86Elo.c +++ b/driver/xf86-input-elographics/src/xf86Elo.c @@ -807,7 +807,7 @@ xf86EloReadInput(LocalDevicePtr local) /* * Try to get a packet. */ - while (xf86EloGetPacket(priv->packet_buf, + if (xf86EloGetPacket(priv->packet_buf, &priv->packet_buf_p, &priv->checksum, local->fd) == Success) { |