From 2e30eff2a50601f066fd8e1da045415970bcbb2c Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 8 Jun 2003 14:32:30 +0000 Subject: [PATCH] Try to return a better minimum cursor size --- src/native/linux/org_lwjgl_input_Mouse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/linux/org_lwjgl_input_Mouse.cpp b/src/native/linux/org_lwjgl_input_Mouse.cpp index fcb75504..48720beb 100644 --- a/src/native/linux/org_lwjgl_input_Mouse.cpp +++ b/src/native/linux/org_lwjgl_input_Mouse.cpp @@ -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; } /*