[orca] Don't ignore MouseButtonEvent instances due to timestamp



commit 42ac2ee841525c408221f741991cdbc32781a080
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue May 29 09:20:16 2012 -0400

    Don't ignore MouseButtonEvent instances due to timestamp

 src/orca/input_event.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/input_event.py b/src/orca/input_event.py
index 149b879..15e0180 100644
--- a/src/orca/input_event.py
+++ b/src/orca/input_event.py
@@ -382,6 +382,8 @@ class KeyboardEvent(InputEvent):
             return False
         if not orca_state.lastInputEvent:
             return False
+        if isinstance(self, MouseButtonEvent):
+            return False
         if self.hw_code == orca_state.lastInputEvent.hw_code \
            and self.type == orca_state.lastInputEvent.type:
             return True



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]