Win32: Mouse native cursor fixes

This commit is contained in:
Elias Naur 2004-07-15 16:07:13 +00:00
parent b121cd0fc7
commit 2951ef02cc

View file

@ -88,8 +88,8 @@ static void resetCursorPos(void) {
getScreenClientRect(&clientRect, &windowRect);
cursorPos.x = (clientRect.left + clientRect.right)/2;
cursorPos.y = clientRect.bottom - 1 - (clientRect.bottom - clientRect.top)/2;
SetCursorPos(cursorPos.x, cursorPos.y);
GetCursorPos(&cursorPos);
/* SetCursorPos(cursorPos.x, cursorPos.y);
GetCursorPos(&cursorPos);*/
}
JNIEXPORT jboolean JNICALL Java_org_lwjgl_input_Mouse_nHasWheel(JNIEnv *, jclass) {