From: megacz Date: Fri, 30 Jan 2004 06:51:19 +0000 (+0000) Subject: 2003/02/12 06:27:59 X-Git-Tag: RC3~1487 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c4826a4340164c333525b709e533742b5e33fe7f;p=org.ibex.core.git 2003/02/12 06:27:59 darcs-hash:20040130065119-2ba56-e7488ac066eb770a995088e0764c123259950ead.gz --- diff --git a/CHANGES b/CHANGES index 289fda0..6610033 100644 --- a/CHANGES +++ b/CHANGES @@ -454,4 +454,6 @@ 11-Feb megacz README: updated gcc instructions and patches -11-Feb megacz Log.java: refactored printing code in prep for inline logging \ No newline at end of file +11-Feb megacz Log.java: refactored printing code in prep for inline logging + +11-Feb megacz X11.java: bugfix for stupid typos diff --git a/src/org/xwt/plat/X11.java b/src/org/xwt/plat/X11.java index 494c428..c6b42ad 100644 --- a/src/org/xwt/plat/X11.java +++ b/src/org/xwt/plat/X11.java @@ -52,8 +52,9 @@ public class X11 extends POSIX { protected native void eventThread(); private native void natInit(); + public X11() { } public void init() { - super.init(); + natInit(); (new Thread() { public void run() { eventThread(); } }).start(); initFonts(); } @@ -69,7 +70,7 @@ public class X11 extends POSIX { Semaphore waitForCreation = new Semaphore(); public native void setInvisible(boolean i); - public void _setMaximized(boolean m) { if (Log.on) Log.log(this, "POSIX/X11 can't maximize windows"); } + public void _setMaximized(boolean m) { if (Log.on) Log.log(this, "X11 can't maximize windows"); } public native void setIcon(Picture p); public native void _setMinimized(boolean b); public native void setTitleBarText(String s);