diff options
author | Sven Gothel <[email protected]> | 2009-10-15 00:24:36 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-10-15 00:24:36 -0700 |
commit | 1d2e9cdca89e83339814abff38790367b33e6523 (patch) | |
tree | 18eb8ae9eeb74e95d47ef7c6fed7774a37783370 /src/newt/native/X11Window.c | |
parent | 545e4cd38f00d2f11153b0025fac51eed8cef797 (diff) |
Fix Solaris build
Diffstat (limited to 'src/newt/native/X11Window.c')
-rwxr-xr-x | src/newt/native/X11Window.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 097d68cca..b6b2bbe26 100755 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -397,6 +397,11 @@ JNIEXPORT void JNICALL Java_com_sun_javafx_newt_x11_X11Display_DispatchMessages // Periodically take a break while( num_events > 0 ) { + jobject jwindow = NULL; + XEvent evt; + KeySym keySym; + char keyChar; + char text[255]; XLockDisplay(dpy) ; @@ -407,12 +412,6 @@ JNIEXPORT void JNICALL Java_com_sun_javafx_newt_x11_X11Display_DispatchMessages return; } - jobject jwindow = NULL; - XEvent evt; - KeySym keySym; - char keyChar; - char text[255]; - XNextEvent(dpy, &evt); num_events--; |