Wayland: Fix a typo in the previous release that broke reading mouse cursor size
Fixes #2895
This commit is contained in:
parent
ab3c9658bd
commit
6b421fabd1
@ -9,6 +9,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
|||||||
|
|
||||||
- hints kitten: Allow customizing hint colors (:pull:`2894`)
|
- 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]
|
0.18.2 [2020-07-28]
|
||||||
--------------------
|
--------------------
|
||||||
|
|||||||
2
glfw/wl_cursors.c
vendored
2
glfw/wl_cursors.c
vendored
@ -16,7 +16,7 @@ pixels_from_scale(int scale) {
|
|||||||
const char *env = getenv("XCURSOR_SIZE");
|
const char *env = getenv("XCURSOR_SIZE");
|
||||||
if (env) {
|
if (env) {
|
||||||
const int retval = atoi(env);
|
const int retval = atoi(env);
|
||||||
if (retval > 0 && retval < 2048) factor = 32;
|
if (retval > 0 && retval < 2048) factor = retval;
|
||||||
}
|
}
|
||||||
queried_env = true;
|
queried_env = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user