aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/WindowsWindow.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-16 13:15:34 +0200
committerSven Gothel <[email protected]>2011-09-16 13:15:34 +0200
commitedbee9a1f34929e9bd3119bac88ab1c759c569a3 (patch)
treefbbd779b8dfc1cb12bc29a654b60432ed6a00134 /src/newt/native/WindowsWindow.c
parente228acfcf5be36fb161043bb2ae21f8d60bc6ca4 (diff)
NEWT/WindowImpl: Remove wait for position (keep waitForSize for reparent/fullscreen)
Window position is not deterministic enough and slows down processing while sync on it
Diffstat (limited to 'src/newt/native/WindowsWindow.c')
-rw-r--r--src/newt/native/WindowsWindow.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c
index 43a5e8459..8402373b3 100644
--- a/src/newt/native/WindowsWindow.c
+++ b/src/newt/native/WindowsWindow.c
@@ -1411,10 +1411,6 @@ JNIEXPORT jlong JNICALL Java_jogamp_newt_driver_windows_WindowsWindow_CreateWind
height += insets->top + insets->bottom; // top-level
DBG_PRINT("*** WindowsWindow: CreateWindow top-level %d/%d %dx%d\n", x, y, width, height);
- if(userPos) {
- // mark pos as undef, which cases java to wait for WM reported pos
- (*env)->CallVoidMethod(env, wud->jinstance, positionChangedID, -1, -1);
- }
NewtWindow_setVisiblePosSize(window, TST_FLAG_IS_ALWAYSONTOP(flags), TRUE, x, y, width, height);
}
}