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/X11Event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newt/native/X11Event.c') diff --git a/src/newt/native/X11Event.c b/src/newt/native/X11Event.c index d0567c16b..aca9da675 100644 --- a/src/newt/native/X11Event.c +++ b/src/newt/native/X11Event.c @@ -249,7 +249,7 @@ void X11EventPoll(JNIEnv *env, jobject obj, Display *dpy, jlong javaObjectAtom, int left, right, top, bottom; NewtWindows_updateInsets(env, w->jwindow, dpy, evt.xany.window, &left, &right, &top, &bottom); } - (*env)->CallVoidMethod(env, w->jwindow, visibleChangedID, JNI_FALSE, JNI_TRUE); + (*env)->CallVoidMethod(env, w->jwindow, visibleChangedID, JNI_TRUE); } break; @@ -259,7 +259,7 @@ void X11EventPoll(JNIEnv *env, jobject obj, Display *dpy, jlong javaObjectAtom, evt.xunmap.event!=evt.xunmap.window); if( evt.xunmap.event == evt.xunmap.window ) { // ignore child window notification - (*env)->CallVoidMethod(env, w->jwindow, visibleChangedID, JNI_FALSE, JNI_FALSE); + (*env)->CallVoidMethod(env, w->jwindow, visibleChangedID, JNI_FALSE); } break; -- cgit v1.2.3