[comp.windows.open-look] Flushing the XView event buffer

ogden@nmsu.edu (Bill Ogden) (01/15/91)

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