Revision: 2122
          http://vexi.svn.sourceforge.net/vexi/?rev=2122&view=rev
Author:   clrg
Date:     2007-09-04 09:15:38 -0700 (Tue, 04 Sep 2007)

Log Message:
-----------
Fix focused surfaces not getting key events when mouse cursor was outside a 
frame

Modified Paths:
--------------
    trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp

Modified: trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2007-09-04 16:07:28 UTC 
(rev 2121)
+++ trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2007-09-04 16:15:38 UTC 
(rev 2122)
@@ -999,7 +999,7 @@
         if (s != null) {
             if (inside(s.mousex, s.mousey))
                 propagateEvent(event, value, s.mousex, s.mousey);
-            else if (event.startsWith("Release"))
+            else if (event.startsWith("Release") || event.startsWith("Key"))
                 if (Interpreter.CASCADE_PREVENTED == 
justTriggerTrapsAndCatchExceptions(JSU.S('_'+event), value))
                     justTriggerTrapsAndCatchExceptions(JSU.S(event), value);
         }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to