Work around race condition during VT switch.

https://bugzilla.novell.com/show_bug.cgi?id=219946
This commit is contained in:
Matthias Hopf
2006-11-23 18:17:33 +01:00
parent 7a866ae143
commit fb347fb74e

View File

@@ -1166,6 +1166,9 @@ MouseReadInput(InputInfoPtr pInfo)
pBufP = pMse->protoBufTail;
pBuf = pMse->protoBuf;
if (pInfo->fd == -1)
return;
/*
* Set blocking to -1 on the first call because we know there is data to
* read. Xisb automatically clears it after one successful read so that