Wayland: Pick more plausible default cursor size

This is not intended as a replacement for actually querying the desktop
for the correct size, but it appears to be a better fallback value.

(cherry picked from commit 82e77dbff4)
This commit is contained in:
Camilla Löwy 2023-01-08 16:53:21 +01:00
parent 2178c3e536
commit ba80e23dab

View File

@ -302,7 +302,7 @@ static void createKeyTables(void)
static GLFWbool loadCursorTheme(void)
{
int cursorSize = 32;
int cursorSize = 16;
const char* sizeString = getenv("XCURSOR_SIZE");
if (sizeString)