From: Timothy W. <tw...@us...> - 2004-05-27 20:34:43
|
Update of /cvsroot/abbot/abbot/src/abbot/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16100/src/abbot/util Modified Files: EventNormalizer.java Log Message: Remove some lingering references, add tests Index: EventNormalizer.java =================================================================== RCS file: /cvsroot/abbot/abbot/src/abbot/util/EventNormalizer.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** EventNormalizer.java 12 May 2004 20:10:51 -0000 1.20 --- EventNormalizer.java 27 May 2004 20:34:32 -0000 1.21 *************** *** 22,25 **** --- 22,26 ---- public class EventNormalizer implements AWTEventListener { + // Normally we want to ignore these (w32 generates them) private static boolean captureModifierRepeats = Boolean.getBoolean("abbot.capture_modifier_repeats"); *************** *** 66,69 **** --- 67,72 ---- } + // We want to ignore consecutive event indicating window disposal; there + // needs to be an intervening SHOWN/OPEN before we're interested again. private boolean isDuplicateDispose(AWTEvent event) { if (event instanceof WindowEvent) { |