Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!news.cs.indiana.edu!ariel.unm.edu!nmsu!opus!ogden From: ogden@nmsu.edu (Bill Ogden) Newsgroups: comp.windows.open-look Subject: Flushing the XView event buffer Message-ID: Date: 14 Jan 91 16:20:26 GMT Sender: news@NMSU.Edu Distribution: comp Organization: Computing Research Lab Lines: 14 Is there a simple way of flushing an event input queue for a window? (or do you set up an xv_input_readevent() loop and wait until event is null?) I'm looking for a way to prevent double clicks from being interpreted as successive single clicks in successive windows and to prevent long presses of the Return key resulting in comfirmation dialogs (which accept Return key as the default) to flash by. -- ogden@nmsu.edu Bill Ogden Computing Research Lab New Mexico State University Las Cruces, NM