diff --git a/docs/changelog.rst b/docs/changelog.rst index 6aaa3d0da..3480d3a37 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -9,6 +9,8 @@ To update |kitty|, :doc:`follow the instructions `. - hints kitten: Allow customizing hint colors (:pull:`2894`) +- Wayland: Fix a typo in the previous release that broke reading mouse cursor size (:iss:`2895`) + 0.18.2 [2020-07-28] -------------------- diff --git a/glfw/wl_cursors.c b/glfw/wl_cursors.c index dac6e5633..b3aef51b3 100644 --- a/glfw/wl_cursors.c +++ b/glfw/wl_cursors.c @@ -16,7 +16,7 @@ pixels_from_scale(int scale) { const char *env = getenv("XCURSOR_SIZE"); if (env) { const int retval = atoi(env); - if (retval > 0 && retval < 2048) factor = 32; + if (retval > 0 && retval < 2048) factor = retval; } queried_env = true; }