summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-16 07:54:22 +0200
committerSven Gothel <[email protected]>2011-09-16 07:54:22 +0200
commit9f385a88d1d9560de98cf1fc79308aee3d633838 (patch)
tree0ea3912b11a741c3c3b5c4cfbf0f6f3ec342b295 /src
parent4e3f2e5bf35c05e0c7ccf4995bcb4dbdf23f18cd (diff)
NEWT Window: Allow positionChanged(..) notification for child windows
Diffstat (limited to 'src')
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index 48eb9e0ce..8bc6d01ac 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -2261,7 +2261,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
/** Triggered by implementation's WM events to update the position. */
protected void positionChanged(int newX, int newY) {
- if( 0==parentWindowHandle && ( x != newX || y != newY ) ) {
+ if ( x != newX || y != newY ) {
if(DEBUG_IMPLEMENTATION) {
System.err.println("Window.positionChanged: ("+getThreadName()+"): "+x+"/"+y+" -> "+newX+"/"+newY+" - windowHandle "+toHexString(windowHandle)+" parentWindowHandle "+toHexString(parentWindowHandle));
}