diff options
Diffstat (limited to 'src/native')
-rwxr-xr-x | src/native/jogl/X11Window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/native/jogl/X11Window.c b/src/native/jogl/X11Window.c index f4d9872d4..d4c764a6a 100755 --- a/src/native/jogl/X11Window.c +++ b/src/native/jogl/X11Window.c @@ -307,6 +307,8 @@ JNIEXPORT void JNICALL Java_com_sun_javafx_newt_x11_X11Window_setVisible0 XSelectInput(dpy, w, ExposureMask|ButtonPressMask|ButtonReleaseMask|PointerMotionMask| KeyPressMask|KeyReleaseMask); XSetInputFocus(dpy, w, RevertToNone, CurrentTime); + + XSync(dpy, False); } else { XSelectInput(dpy, w, 0); XUnmapWindow(dpy, w); |