summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/stub_includes/x11/window-lib.c2
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/impl/x11/X11Util.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/make/stub_includes/x11/window-lib.c b/make/stub_includes/x11/window-lib.c
index 9affa8427..5f33572bb 100644
--- a/make/stub_includes/x11/window-lib.c
+++ b/make/stub_includes/x11/window-lib.c
@@ -7,7 +7,7 @@
#define _Xconst const
#endif /* _Xconst */
-extern Bool XSynchronize(Display *display, Bool onoff);
+extern intptr_t XSynchronize(Display *display, Bool onoff);
extern int XFlush(Display *display);
extern int XSync(Display *display, Bool discard);
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/impl/x11/X11Util.java b/src/nativewindow/classes/com/jogamp/nativewindow/impl/x11/X11Util.java
index bd76908a1..ecb4a7a16 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/impl/x11/X11Util.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/impl/x11/X11Util.java
@@ -419,10 +419,10 @@ public class X11Util {
}
}
- public static boolean XSynchronize(long display, boolean onoff) {
+ public static void XSynchronize(long display, boolean onoff) {
lockDefaultToolkit(display);
try {
- return X11Lib.XSynchronize(display, onoff);
+ X11Lib.XSynchronize(display, onoff);
} finally {
unlockDefaultToolkit(display);
}