Index: src/orca/orca.py
===================================================================
--- src/orca/orca.py	(revision 3912)
+++ src/orca/orca.py	(working copy)
@@ -178,6 +178,21 @@
     if obj == orca_state.locusOfFocus:
         return
 
+    # If this event is not for the currently active script, then just return.
+    #
+    print "XXX: active script name: ", orca_state.activeScript.app.name
+    print "XXX: event.host_application name: ", event.host_application.name
+    print "XXX: event.source.getApplication() name: ", event.source.getApplication().name
+    print "XXX: [1] equality: ", orca_state.activeScript.app.name == event.host_application.name
+    print "XXX: [2] equality: ", orca_state.activeScript.app.name == event.source.getApplication().name
+
+    currentApp = orca_state.activeScript.app.name
+    if currentApp != event.host_application.name and \
+       currentApp != event.source.getApplication().name:
+        print "XXX: RETURNING."
+        return
+
+    print "XXX: CONTINUING..."
     oldLocusOfFocus = orca_state.locusOfFocus
     try:
         # Just to see if we have a valid object.
