From e27d6202c07dbc70172733fcf6e79cb2ffe9a56c Mon Sep 17 00:00:00 2001 From: Scott Gilbertson Date: Fri, 15 Jul 2005 16:07:18 +0000 Subject: XCanvasPeer.java (attributes): New field. 2005-07-15 Scott Gilbertson * gnu/awt/xlib/XCanvasPeer.java (attributes): New field. (eventMask): New field. (XCanvasPeer(Component)): Use attributes field. (setBackground): Implemented. (setEventMask): Process mask only if changed. * gnu/awt/xlib/XEventLoop.java (class): Iplement Runnable. (eventLoopThread): New field. (XEventLoop(Display,EventQueue)): Start eventLoopThread. (interrupt): Removed. (run): New method. * gnu/awt/xlib/XEventQueue.java (getNextEvent): Process Container and Component events. * gnu/awt/xlib/XFramePeer.java (processingConfigureNotify): New field. (configureNotify): Set and clear processingConfigureNotify. (setBounds): Process only if processingConfigureNotify is false. (toBack): Implemented. (toFront): Implemented. * gnu/awt/xlib/XGraphics.java (setColor): Ignore null color. * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Ignore null color. * gnu/awt/xlib/XToolkit.java (nativeQueueEmpty): Always return true. (wakeNativeQueue): Do nothing. (iterateNativeQueue): Do queue.wait if blocking. * gnu/gcj/xlib/Font.java (loadFont): New method. (loadFontImpl): Renamed native method, was loadFont. * gnu/gcj/xlib/Window.java (toFront): New method. (toBack): New method. * gnu/gcj/xlib/natFont.cc (loadFontImpl): Renamed method, was loadFont. * gnu/gcj/xlib/natWindow.cc (toBack): New method. (toFront): New method. * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Removed timeout. From-SVN: r102057 --- libjava/gnu/gcj/xlib/Window.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libjava/gnu/gcj/xlib/Window.java') diff --git a/libjava/gnu/gcj/xlib/Window.java b/libjava/gnu/gcj/xlib/Window.java index ae3dbfd..3ff3657 100644 --- a/libjava/gnu/gcj/xlib/Window.java +++ b/libjava/gnu/gcj/xlib/Window.java @@ -73,6 +73,8 @@ public class Window extends Drawable public native void map(); public native void unmap(); + public native void toFront(); + public native void toBack(); protected boolean owned = false; -- cgit v1.1