harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r466073 - /incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java
Date Fri, 20 Oct 2006 11:39:06 GMT
Author: mloenko
Date: Fri Oct 20 04:39:05 2006
New Revision: 466073

URL: http://svn.apache.org/viewvc?view=rev&rev=466073
Log:
applied patch from HARMONY-1547
[classlib][awt] Swing components lose focus immediately after gaining it by mouse press

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java?view=diff&rev=466073&r1=466072&r2=466073
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java
Fri Oct 20 04:39:05 2006
@@ -137,7 +137,7 @@
                         nextComp = null;
                         client.requestFocusInWindow();
                     }
-                } else if (client != null) {
+                } else if ((client != null) && getCompositionWindow().isVisible())
{
                     // temporarily return focus back
                     // to previous client to be able
                     // to end composition



Mime
View raw message