Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!linus!progress!desai From: desai@progress.COM (Jatin Desai) Newsgroups: comp.windows.open-look Subject: Re: looking ahead in X event queue Message-ID: <1991Jan23.195738.23605@progress.com> Date: 23 Jan 91 19:57:38 GMT References: <764wey2@openlook.Unify.Com> Sender: news@progress.com (The News User) Organization: Progress Software Corp., Bedford, MA Lines: 7 Nntp-Posting-Host: mikep I think the trick is to use XCheckIfEvent with a predicate function which always returns False, but stores the real return status which gets checked after XCheckIfEvent returns. Jatin Desai Progress Software desai@progress.com