mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Wayland: Use HiDPI cursors on decorations
This commit is contained in:
committed by
linkmauve
parent
321062833a
commit
e0b83bbe8d
@@ -721,6 +721,7 @@ setCursorImage(_GLFWcursorWayland* cursorWayland)
|
||||
surface,
|
||||
cursorWayland->xhot,
|
||||
cursorWayland->yhot);
|
||||
wl_surface_set_buffer_scale(surface, 1);
|
||||
wl_surface_attach(surface, buffer, 0, 0);
|
||||
wl_surface_damage(surface, 0, 0,
|
||||
cursorWayland->width, cursorWayland->height);
|
||||
|
||||
Reference in New Issue
Block a user