mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-21 06:14:10 +00:00
Fixed linux mouse creation
This commit is contained in:
parent
b6a13f736b
commit
b6390ef976
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue