Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!pt.cs.cmu.edu!rochester!rit!tropix!ur-valhalla!uhura.cc.rochester.edu!sunybcs!boulder!ncar!gatech!ncsuvx!ccpv1.ncsu.edu!rcb From: rcb@ccpv1.ncsu.edu (Randy Buckland) Newsgroups: comp.windows.x Subject: Asynch events? Message-ID: <3437@ncsuvx.ncsu.edu> Date: 15 Aug 89 16:54:36 GMT Sender: news@ncsuvx.ncsu.edu Distribution: comp Lines: 9 Is there any way with Xlib to read events with a timeout? The only way I can think of would be to flush the internal queue and then do a select on the file number that Xlib is using to talk to the server. However this is not very portable. What I would like would be a version of XNextEvent with a timeout parameter that can take sub-second values. Randy Buckland rcb@ncsuvx.ncsu.edu