From ca8a9b56532fe4710cc4f3742c385db06dec9252 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 13 Jun 2009 23:41:36 +0000 Subject: NEWT WindowsWindow multithreaded/multiwindows works. Caveat: They must be created in their own thread, which is being used to dispatch the messages. FIXME: Need to make such notes / restrictions in the documentation !! git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1946 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/newt/native/WindowsWindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index af5e2a8f2..f609de08d 100755 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -1096,7 +1096,7 @@ JNIEXPORT void JNICALL Java_com_sun_javafx_newt_windows_WindowsWindow_DispatchMe TranslateMessage(&msg); DispatchMessage(&msg); } - } while (gotOne && i < 10); + } while (gotOne && i < 100); } /* -- cgit v1.2.3