mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
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.
This commit is contained in:
parent
9a87635686
commit
82e77dbff4
@ -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…
Reference in New Issue
Block a user