Try to return a better minimum cursor size
This commit is contained in:
parent
34aeff1757
commit
2e30eff2a5
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue