[kaffe] CVS kaffe (jserv): fix right click events problem

Kaffe CVS cvs-commits at kaffe.org
Fri Jul 16 02:26:11 PDT 2004


PatchSet 4976 
Date: 2004/07/16 09:18:43
Author: jserv
Branch: HEAD
Tag: (none) 
Log:
fix right click events problem

	* libraries/javalib/java/awt/MouseEvt.java
	(clickToFocus):
	Revert to previous due to it causing problems of right
	click events.

Members: 
	ChangeLog:1.2540->1.2541 
	libraries/javalib/java/awt/MouseEvt.java:1.10->1.11 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2540 kaffe/ChangeLog:1.2541
--- kaffe/ChangeLog:1.2540	Thu Jul 15 14:44:02 2004
+++ kaffe/ChangeLog	Fri Jul 16 09:18:43 2004
@@ -1,3 +1,10 @@
+2004-07-16  Jim Huang  <jserv at kaffe.org>
+
+	* libraries/javalib/java/awt/MouseEvt.java
+	(clickToFocus):
+	Revert to previous due to it causing problems of right
+	click events.
+
 2004-07-15  Dalibor Topic  <robilad at kaffe.org>
 
 	* kaffe/kaffevm/jit/labels.c:
Index: kaffe/libraries/javalib/java/awt/MouseEvt.java
diff -u kaffe/libraries/javalib/java/awt/MouseEvt.java:1.10 kaffe/libraries/javalib/java/awt/MouseEvt.java:1.11
--- kaffe/libraries/javalib/java/awt/MouseEvt.java:1.10	Thu Jul 15 04:19:14 2004
+++ kaffe/libraries/javalib/java/awt/MouseEvt.java	Fri Jul 16 09:18:42 2004
@@ -59,8 +59,10 @@
 	// the focus by means of explicit requestFocus() (not very intuitive) OR by means of
 	// mouseclicks (even on components which are not mouse aware, which sounds silly)
 
+/* XXX
 	if ( ((newKeyTgt.flags & Component.IS_NATIVE_LIKE) != 0) && newKeyTgt.isFocusTraversable() )
 		newKeyTgt.requestFocus();	
+ */
 }
 
 static Component computeMouseTarget ( Container toplevel, int x, int y ) {




More information about the kaffe mailing list