Try to return a better minimum cursor size

This commit is contained in:
Elias Naur 2003-06-08 14:32:30 +00:00
parent 34aeff1757
commit 2e30eff2a5
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ JNIEXPORT jint JNICALL Java_org_lwjgl_input_Mouse_nGetMinCursorSize
unsigned int width_return = 0;
unsigned int height_return = 0;
XQueryBestCursor(getCurrentDisplay(), getCurrentWindow(), 1, 1, &width_return, &height_return);
return width_return > height_return ? height_return : width_return;
return width_return > height_return ? width_return : height_return;
}
/*