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@
This commit is contained in:
mbalmer 2008-08-28 14:29:50 +00:00
parent bc86b393c4
commit dea918fbfb

View File

@ -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) {