summaryrefslogtreecommitdiffstats
path: root/src/newt/native/X11Window.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/X11Window.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/X11Window.c')
-rw-r--r--src/newt/native/X11Window.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c
index 199caafad..30ff7f6f3 100644
--- a/src/newt/native/X11Window.c
+++ b/src/newt/native/X11Window.c
@@ -1664,10 +1664,6 @@ JNIEXPORT jlong JNICALL Java_jogamp_newt_driver_x11_X11Window_CreateWindow0
if(0>x) { x = 0; }
if(0>y) { y = 0; }
DBG_PRINT("X11: [CreateWindow]: top-level: %d/%d\n", x, y);
- if(userPos) {
- // mark pos as undef, which cases java to wait for WM reported pos
- (*env)->CallVoidMethod(env, jwindow, positionChangedID, -1, -1);
- }
NewtWindows_setPosSize(dpy, window, x, y, width, height);
if( TST_FLAG_IS_ALWAYSONTOP(flags) ) {