Changeset 414 for trunk/EventBenchConsole/src/de/ugoe
- Timestamp:
- 04/03/12 10:55:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/SequenceSplitter.java
r297 r414 61 61 /** 62 62 * <p> 63 * Type of the previous message. 64 * </p> 65 */ 66 private int prevMsg = 0; 67 68 /** 69 * <p> 63 70 * Constructor. Creates a new SequenceSplitter. 64 71 * </p> … … 70 77 tokenGenerator = new EventGenerator(); 71 78 actionSequence = new LinkedList<WindowsEvent>(); 79 prevMsg = 0; 72 80 } 73 81 … … 101 109 } 102 110 } 103 currentSequence.add(msg); 111 112 // this fix checks if there are two consecutive mouse-down messages. 113 // This sometimes occurs due to incorrect filtering in the monitoring 114 // dll. 115 if (!(prevMsg == MessageDefs.WM_LBUTTONDOWN && prevMsg == msg.getType())) { 116 currentSequence.add(msg); 117 } else { 118 openDowns--; 119 } 120 prevMsg = msg.getType(); 104 121 } 105 122
Note: See TracChangeset
for help on using the changeset viewer.