summaryrefslogtreecommitdiffstats
path: root/src/newt/native/X11Event.c
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2019-09-10 01:38:08 +0200
committerSven Gothel <sgothel@jausoft.com>2019-09-10 01:38:08 +0200
commit9332937b86f329f483f3281780278c275b422e39 (patch)
tree90caf12fa2579502f7b93a472d977209125b82f6 /src/newt/native/X11Event.c
parent7e76df3a05b7eb2404cb4584ee0b34ea287eb9bf (diff)
NEWT Cleanup: WindowImpl::visibleChanged(ZZ): Remove unused 'defer' argument. Method only changes state.
Diffstat (limited to 'src/newt/native/X11Event.c')
-rw-r--r--src/newt/native/X11Event.c4
1 files changed, 2 insertions, 2 deletions
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;