diff options
author | Sven Gothel <[email protected]> | 2011-09-16 04:21:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-16 04:21:21 +0200 |
commit | fc5ca7819562ddec251ad8aa0c96b0ddeece61d3 (patch) | |
tree | 5fd75169d149c25cb894c2d8d471b83bed370d7e /src/newt/classes/jogamp | |
parent | 0e9935a8f9e2969e4ddd96dbc043473d9f336c3a (diff) |
NEWT/X11: Fix ABOVE handling, notify Java on reparentNotify, cleanup of setFullscreenEWMH
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r-- | src/newt/classes/jogamp/newt/driver/x11/X11Window.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/x11/X11Window.java b/src/newt/classes/jogamp/newt/driver/x11/X11Window.java index 08db72acd..dfb84f6f8 100644 --- a/src/newt/classes/jogamp/newt/driver/x11/X11Window.java +++ b/src/newt/classes/jogamp/newt/driver/x11/X11Window.java @@ -101,7 +101,6 @@ public class X11Window extends WindowImpl { System.err.println("X11Window reconfig: "+x+"/"+y+" "+width+"x"+height+", "+ getReconfigureFlagsAsString(null, flags)); } - if(0 == ( FLAG_IS_UNDECORATED & flags) && 0<=x && 0<=y) { final InsetsImmutable i = getInsets(); @@ -117,6 +116,13 @@ public class X11Window extends WindowImpl { return true; } + protected void reparentNotify(long newParentWindowHandle) { + if(DEBUG_IMPLEMENTATION) { + final long p0 = getParentWindowHandle(); + System.err.println("Window.reparentNotify ("+getThreadName()+"): "+toHexString(p0)+" -> "+toHexString(newParentWindowHandle)); + } + } + protected void requestFocusImpl(boolean force) { requestFocus0(getDisplayEDTHandle(), getWindowHandle(), force); } @@ -161,6 +167,7 @@ public class X11Window extends WindowImpl { int x, int y, int width, int height, int flags); private native void setTitle0(long display, long windowHandle, String title); private native void requestFocus0(long display, long windowHandle, boolean force); + private native long getParentWindow0(long display, long windowHandle); private long windowHandleClose; } |