I found another little problem in MouseInfo.c, there we have some
variables of type BOOL, where the correct type (according to the X man
pages) is Bool (I'm not sure why this works in the context of OpenJDK
but not in the context of Jamaica, I suspect there's a #define somewhere
covering this).

/Roman

-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
diff -r 263ac8808754 src/solaris/native/sun/awt/MouseInfo.c
--- a/src/solaris/native/sun/awt/MouseInfo.c	Thu Mar 13 23:20:31 2008 +0100
+++ b/src/solaris/native/sun/awt/MouseInfo.c	Fri Mar 14 15:42:31 2008 +0100
@@ -54,7 +54,7 @@ Java_sun_awt_DefaultMouseInfoPeer_fillPo
      int i;
      int32_t xr, yr, xw, yw;
      uint32_t keys;
-     BOOL pointerFound;
+     Bool pointerFound;
 
      AWT_LOCK();
      if (pointClass == NULL) {
@@ -102,7 +102,7 @@ JNIEXPORT jboolean JNICALL Java_sun_awt_
     int32_t xr = 0, yr = 0, xw = 0, yw = 0;
     uint32_t keys = 0;
     uint32_t nchildren = 0;
-    BOOL pointerFound = 0;
+    Bool pointerFound = 0;
     struct FrameData *wdata = NULL;
     jobject winPeer = NULL;
 

Reply via email to