mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +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.
(cherry picked from commit 82e77dbff4
)
This commit is contained in:
parent
2178c3e536
commit
ba80e23dab
@ -302,7 +302,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