Fixed linux mouse creation

This commit is contained in:
Elias Naur 2003-10-20 12:49:50 +00:00
parent b6a13f736b
commit b6390ef976
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nCreate
{
int i;
current_z = last_z = 0;
doWarpPointer();
for (i = 0; i < NUM_BUTTONS; i++)
buttons[i] = 0;
if (!blankCursor()) {
@ -323,6 +322,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nCreate
updateGrab();
initEventQueue(&event_queue);
loadXcursor();
doWarpPointer();
}
JNIEXPORT void JNICALL Java_org_lwjgl_input_Mouse_nDestroy