diff options
Diffstat (limited to 'src/newt/classes')
-rw-r--r-- | src/newt/classes/jogamp/newt/driver/windows/WindowDriver.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/windows/WindowDriver.java b/src/newt/classes/jogamp/newt/driver/windows/WindowDriver.java index 2eaedc101..751ce854a 100644 --- a/src/newt/classes/jogamp/newt/driver/windows/WindowDriver.java +++ b/src/newt/classes/jogamp/newt/driver/windows/WindowDriver.java @@ -220,17 +220,6 @@ public class WindowDriver extends WindowImpl { width = posSize[2]; height = posSize[3]; } - if(0 == ( STATE_MASK_UNDECORATED & flags)) { - // client position -> top-level window position - x -= insets.getLeftWidth() ; - y -= insets.getTopHeight() ; - - if(0<width && 0<height) { - // client size -> top-level window size - width += insets.getTotalWidth(); - height += insets.getTotalHeight(); - } - } reconfigureWindow0( getParentWindowHandle(), getWindowHandle(), x, y, width, height, flags); if( 0 != ( CHANGE_MASK_VISIBILITY & flags) ) { |