Article View: comp.windows.x
Article #23786Flushing the X-Event Buffer.....
From: Anthony M Gades
Date: Mon, 17 Jun 1991 17:17
Date: Mon, 17 Jun 1991 17:17
25 lines
1332 bytes
1332 bytes
Is there a way to flush all of the X Event buffer, even if there is nothing for the Events to do. For example, if there are a couple of Button Presses in the buffer, and I want to get rid of them before I continue on to the next section of the program (it is important that there are no such events in the buffer) can I delete them. XFlush(theDisp); works great if there is something for the events to do. I just want to delete the events, or map them to a no-op function. Please email with any help thanks, tgades@stolaf.edu -- -------------------------------------------------------------- Tony Gades St. Olaf College, Northfield, MN 55057 email: tgades@stolaf.edu tel (507)-663-2725
Technical Details
Message-ID:
<1991Jun17.171708.22284@news.stolaf.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!caen!spool.mu.edu!cs.umn.edu!uc!noc.MR.NET!news.stolaf.edu!skadi.physics.stolaf.edu!tgadesShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!caen!spool.mu.edu!cs.umn.edu!uc!noc.MR.NET!news.stolaf.edu!skadi.physics.stolaf.edu!tgades From: tgades@stolaf.edu (Anthony M Gades) Newsgroups: comp.windows.x Subject: Flushing the X-Event Buffer..... Message-ID: <1991Jun17.171708.22284@news.stolaf.edu> Date: 17 Jun 91 17:17:08 GMT Sender: news@news.stolaf.edu Organization: St. Olaf College; Northfield, MN USA Lines: 25 Originator: tgades@skadi.physics.stolaf.edu