[client] wayland: support high DPI cursors when needed

This commit is contained in:
Quantum
2021-08-14 19:32:33 -04:00
committed by Geoffrey McRae
parent 2dd1ad53f8
commit 7cd0c55847
3 changed files with 54 additions and 10 deletions

View File

@@ -48,6 +48,7 @@ void waylandWindowUpdateScale(void)
wlWm.scale = maxScale;
wlWm.fractionalScale = wl_fixed_from_int(wl_fixed_to_int(maxScale)) != maxScale;
wlWm.needsResize = true;
waylandCursorScaleChange();
app_invalidateWindow(true);
waylandStopWaitFrame();
}