diff options
-rwxr-xr-x | make/scripts/make.jogl.all.linux-x86_64.sh | 2 | ||||
-rw-r--r-- | src/newt/native/X11Window.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/make/scripts/make.jogl.all.linux-x86_64.sh b/make/scripts/make.jogl.all.linux-x86_64.sh index b89de7465..aab3eecae 100755 --- a/make/scripts/make.jogl.all.linux-x86_64.sh +++ b/make/scripts/make.jogl.all.linux-x86_64.sh @@ -52,7 +52,7 @@ echo LIBGL_DEBUG: $LIBGL_DEBUG 2>&1 | tee -a $LOGF # -Djavacdebug="true" \ # -Djavacdebuglevel="source,lines,vars" \ -BUILD_ARCHIVE=true \ +# BUILD_ARCHIVE=true \ ant \ $CUSTOMLIBDIR \ -Djavacdebuglevel="source,lines,vars" \ diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 5414de966..add9fa604 100644 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -513,9 +513,9 @@ JNIEXPORT void JNICALL Java_jogamp_newt_x11_X11Display_DispatchMessages0 char keyChar = 0; char text[255]; - // num_events = XPending(dpy); // I/O Flush .. - // num_events = XEventsQueued(dpy, QueuedAfterFlush); // I/O Flush only of no already queued events are available - // num_events = XEventsQueued(dpy, QueuedAlready); // no I/O Flush at all, doesn't work on some cards (eg ATI) + // QueuedAlready : No I/O Flush or system call doesn't work on some cards (eg ATI) ?) + // QueuedAfterFlush == XPending(): I/O Flush only if no already queued events are available + // QueuedAfterReading : QueuedAlready + if queue==0, attempt to read more .. if ( 0 >= XEventsQueued(dpy, QueuedAfterFlush) ) { // DBG_PRINT( "X11: DispatchMessages 0x%X - Leave 1\n", dpy); return; |