...
This commit is contained in:
parent
087b52e3e0
commit
5c03a52a0b
1 changed files with 3 additions and 3 deletions
6
glfw/wl_window.c
vendored
6
glfw/wl_window.c
vendored
|
|
@ -246,7 +246,7 @@ dispatchChangesAfterConfigure(_GLFWwindow *window, int32_t width, int32_t height
|
|||
}
|
||||
|
||||
if (scale_changed) {
|
||||
debug("Scale changed to %d in dispatchChangesAfterConfigure", window->wl.scale);
|
||||
debug("Scale changed to %d in dispatchChangesAfterConfigure\n", window->wl.scale);
|
||||
if (!size_changed) resizeFramebuffer(window);
|
||||
_glfwInputWindowContentScale(window, window->wl.scale, window->wl.scale);
|
||||
}
|
||||
|
|
@ -298,7 +298,7 @@ static void surfaceHandleEnter(void *data,
|
|||
window->wl.monitors[window->wl.monitorsCount++] = monitor;
|
||||
|
||||
if (checkScaleChange(window)) {
|
||||
debug("Scale changed to %d in surface enter event", window->wl.scale);
|
||||
debug("Scale changed to %d in surface enter event\n", window->wl.scale);
|
||||
resizeFramebuffer(window);
|
||||
_glfwInputWindowContentScale(window, window->wl.scale, window->wl.scale);
|
||||
ensure_csd_resources(window);
|
||||
|
|
@ -324,7 +324,7 @@ static void surfaceHandleLeave(void *data,
|
|||
window->wl.monitors[--window->wl.monitorsCount] = NULL;
|
||||
|
||||
if (checkScaleChange(window)) {
|
||||
debug("Scale changed to %d in surface leave event", window->wl.scale);
|
||||
debug("Scale changed to %d in surface leave event\n", window->wl.scale);
|
||||
resizeFramebuffer(window);
|
||||
_glfwInputWindowContentScale(window, window->wl.scale, window->wl.scale);
|
||||
ensure_csd_resources(window);
|
||||
|
|
|
|||
Loading…
Reference in a new issue