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.
master
Camilla Löwy ago%!(EXTRA string=2 years)
parent 9a87635686
commit 82e77dbff4
  1. 2
      src/wl_init.c

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

Loading…
Cancel
Save