aboutsummaryrefslogtreecommitdiff
path: root/src/wl_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wl_window.c')
-rw-r--r--src/wl_window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wl_window.c b/src/wl_window.c
index 698d0e7..d7025d2 100644
--- a/src/wl_window.c
+++ b/src/wl_window.c
@@ -558,7 +558,8 @@ static void update_scale(struct imv_window *window)
.width = window->width,
.height = window->height,
.buffer_width = buffer_width,
- .buffer_height = buffer_height
+ .buffer_height = buffer_height,
+ .scale = window->scale,
}
}
};
@@ -639,6 +640,7 @@ static void toplevel_configure(void *data, struct xdg_toplevel *toplevel,
.height = window->height,
.buffer_width = buffer_width,
.buffer_height = buffer_height,
+ .scale = window->scale,
}
}
};