summaryrefslogtreecommitdiff
path: root/gnu/java/awt/peer/x/XFramePeer.java
diff options
context:
space:
mode:
authorMario Torre <neugens@limasoftware.net>2008-05-07 14:21:57 +0000
committerMario Torre <neugens@limasoftware.net>2008-05-07 14:21:57 +0000
commit13809b05ad9c542eae3af83d671996fb0415bfae (patch)
treebac0d94bb7a2d0234774dfb787e26673d630562e /gnu/java/awt/peer/x/XFramePeer.java
parent485d2c4f9dd73e2193c1c40d6f0972a798521a7a (diff)
downloadclasspath-13809b05ad9c542eae3af83d671996fb0415bfae.tar.gz
2008-05-07 Mario Torre <neugens@aicas.com>
* gnu/java/awt/peer/x/XEventPump.java (handleEvent): xEvent.code is now masked to identify and react to syntetic events. Added UnmapNotify, DestroyNotify and ClientMessage to the list of event handled. * gnu/java/awt/peer/x/XFramePeer.java (getState): initial implementation. * gnu/java/awt/peer/x/XGraphics2D.java (setPaint): fix NPE, this is a workaround, the code have to be fixed in a better way. * gnu/java/awt/peer/x/XWindowPeer.java (getXwindow): new method to allow access to the underling xwindow. (standardSelect): add more events for notification. (XWindowPeer): call set_wm_delete_window to ask the WM to notify us when a delete event occur.
Diffstat (limited to 'gnu/java/awt/peer/x/XFramePeer.java')
-rw-r--r--gnu/java/awt/peer/x/XFramePeer.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/java/awt/peer/x/XFramePeer.java b/gnu/java/awt/peer/x/XFramePeer.java
index 7424dc671..a355c68b3 100644
--- a/gnu/java/awt/peer/x/XFramePeer.java
+++ b/gnu/java/awt/peer/x/XFramePeer.java
@@ -93,8 +93,7 @@ public class XFramePeer
public int getState()
{
- // TODO: Implement this.
- throw new UnsupportedOperationException("Not yet implemented.");
+ return 0;
}
public void setState(int state)