06d6788
From 2939645164d6825f571c83c419e3ec61a7dc6279 Mon Sep 17 00:00:00 2001
06d6788
From: Adam Jackson <ajax@benzedrine.nwnk.net>
06d6788
Date: Wed, 12 Mar 2008 19:21:08 -0400
06d6788
Subject: [PATCH] Additional input readiness check in WaitForSomething.
06d6788
06d6788
---
06d6788
 os/WaitFor.c |    2 --
06d6788
 1 files changed, 0 insertions(+), 2 deletions(-)
06d6788
06d6788
diff --git a/os/WaitFor.c b/os/WaitFor.c
06d6788
index 36e01ca..0203d6e 100644
06d6788
--- a/os/WaitFor.c
06d6788
+++ b/os/WaitFor.c
06d6788
@@ -332,13 +332,11 @@ WaitForSomething(int *pClientsReady)
06d6788
 
06d6788
 	    if (XFD_ANYSET (&devicesReadable) || XFD_ANYSET (&clientsReadable))
06d6788
 		break;
06d6788
-#ifdef WIN32
06d6788
 	    /* Windows keyboard and mouse events are added to the input queue
06d6788
 	       in Block- and WakupHandlers. There is no device to check if  
06d6788
 	       data is ready. So check here if new input is available */
06d6788
 	    if (*checkForInput[0] != *checkForInput[1])
06d6788
 		return 0;
06d6788
-#endif
06d6788
 	}
06d6788
     }
06d6788
 
06d6788
-- 
06d6788
1.5.4.3
06d6788