Fix a missing cursorWayland-scale assignment.
This commit is contained in:
parent
622f12b84e
commit
4947fb6b57
1
glfw/wl_window.c
vendored
1
glfw/wl_window.c
vendored
@ -699,6 +699,7 @@ setCursorImage(_GLFWwindow* window, _GLFWcursorWayland* cursorWayland)
|
|||||||
struct wl_cursor *newCursor = _glfwLoadCursor(cursorWayland->shape, window->wl.cursorTheme);
|
struct wl_cursor *newCursor = _glfwLoadCursor(cursorWayland->shape, window->wl.cursorTheme);
|
||||||
if(newCursor != NULL) {
|
if(newCursor != NULL) {
|
||||||
cursorWayland->cursor = newCursor;
|
cursorWayland->cursor = newCursor;
|
||||||
|
cursorWayland->scale = scale;
|
||||||
} else {
|
} else {
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR, "Wayland: late cursor load failed; proceeding with existing cursor");
|
_glfwInputError(GLFW_PLATFORM_ERROR, "Wayland: late cursor load failed; proceeding with existing cursor");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user