|
|
|
@ -358,6 +358,9 @@ void _glfwUpdateContentScaleWayland(_GLFWwindow* window) |
|
|
|
|
wl_surface_set_buffer_scale(window->wl.surface, maxScale); |
|
|
|
|
_glfwInputWindowContentScale(window, maxScale, maxScale); |
|
|
|
|
resizeWindow(window); |
|
|
|
|
|
|
|
|
|
if (window->wl.visible) |
|
|
|
|
_glfwInputWindowDamage(window); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1938,6 +1941,9 @@ void _glfwSetWindowSizeWayland(_GLFWwindow* window, int width, int height) |
|
|
|
|
window->wl.width = width; |
|
|
|
|
window->wl.height = height; |
|
|
|
|
resizeWindow(window); |
|
|
|
|
|
|
|
|
|
if (window->wl.visible) |
|
|
|
|
_glfwInputWindowDamage(window); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1990,6 +1996,9 @@ void _glfwSetWindowAspectRatioWayland(_GLFWwindow* window, int numer, int denom) |
|
|
|
|
window->wl.width = window->wl.height * targetRatio; |
|
|
|
|
|
|
|
|
|
resizeWindow(window); |
|
|
|
|
|
|
|
|
|
if (window->wl.visible) |
|
|
|
|
_glfwInputWindowDamage(window); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|