< prev index next >

src/solaris/native/sun/xawt/XToolkit.c

Print this page

        

*** 152,161 **** --- 152,165 ---- JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved) { jvm = vm; + + //Set the gtk backend to x11 on all the systems + putenv("GDK_BACKEND=x11"); + return JNI_VERSION_1_2; } /* * Class: sun_awt_X11_XToolkit
< prev index next >