Try always input queue on 1.12.2 and below to see if it work?

This commit is contained in:
khanhduytran0 2020-10-27 11:52:31 +07:00
parent 259ffe8550
commit 81f8b9dc56
2 changed files with 11 additions and 6 deletions

View File

@ -129,12 +129,16 @@ public class JREUtils
}
}
if (ldLibraryPath.length() == 0) {
ldLibraryPath.append(
// To make libjli.so ignore re-execute
Tools.homeJreDir + "/lib/server:" +
Tools.homeJreDir + "/lib/jli:" +
Tools.homeJreDir + "/lib:"
);
}
ldLibraryPath.append(
// To make libjli.so ignore re-execute
Tools.homeJreDir + "/lib/server:" +
Tools.homeJreDir + "/lib/jli:" +
Tools.homeJreDir + "/lib:" +
"/system/" + libName + ":" +
"/vendor/" + libName + ":" +
"/vendor/" + libName + "/hw:" +

View File

@ -133,7 +133,8 @@ void invokeCursorPos(int x, int y) {
JNIEXPORT void JNICALL Java_org_lwjgl_glfw_CallbackBridge_nativeAttachThreadToOther(JNIEnv* env, jclass clazz, jboolean isAndroid, jboolean isUseStackQueue) {
glfwInputEventIndex = -1;
isUseStackQueueCall = (int) isUseStackQueue;
isUseStackQueueCall = 1;
// isUseStackQueueCall = (int) isUseStackQueue;
if (isUseStackQueue) {
isPrepareGrabPos = true;