Fix a missing cursorWayland-scale assignment.

This commit is contained in:
TheDaemoness 2020-06-01 17:41:16 +00:00 committed by GitHub
parent 622f12b84e
commit 4947fb6b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
glfw/wl_window.c vendored
View File

@ -699,6 +699,7 @@ setCursorImage(_GLFWwindow* window, _GLFWcursorWayland* cursorWayland)
struct wl_cursor *newCursor = _glfwLoadCursor(cursorWayland->shape, window->wl.cursorTheme);
if(newCursor != NULL) {
cursorWayland->cursor = newCursor;
cursorWayland->scale = scale;
} else {
_glfwInputError(GLFW_PLATFORM_ERROR, "Wayland: late cursor load failed; proceeding with existing cursor");
}