From 9332937b86f329f483f3281780278c275b422e39 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 10 Sep 2019 01:38:08 +0200 Subject: NEWT Cleanup: WindowImpl::visibleChanged(ZZ): Remove unused 'defer' argument. Method only changes state. --- src/newt/native/X11Window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt/native/X11Window.c') diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 1c2c8e80f..930d758a2 100644 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -917,7 +917,7 @@ JNIEXPORT jlongArray JNICALL Java_jogamp_newt_driver_x11_WindowDriver_CreateWind if( NewtWindows_updateInsets(dpy, javaWindow, &left, &right, &top, &bottom) ) { (*env)->CallVoidMethod(env, javaWindow->jwindow, insetsVisibleChangedID, JNI_FALSE, left, right, top, bottom, 1); } else { - (*env)->CallVoidMethod(env, javaWindow->jwindow, visibleChangedID, JNI_FALSE, JNI_TRUE); + (*env)->CallVoidMethod(env, javaWindow->jwindow, visibleChangedID, JNI_TRUE); left=0; right=0; top=0; bottom=0; } -- cgit v1.2.3