summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index dd9181ad..dadfae6d 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -528,7 +528,7 @@ static void updateRootSize_Window_(iWindow *d, iBool notifyAlways) {
528void drawWhileResizing_Window(iWindow *d, int w, int h) { 528void drawWhileResizing_Window(iWindow *d, int w, int h) {
529 /* This is called while a window resize is in progress, so we can be pretty confident 529 /* This is called while a window resize is in progress, so we can be pretty confident
530 the size has actually changed. */ 530 the size has actually changed. */
531 d->root->rect.size = mulf_I2(init_I2(w, h), d->pixelRatio); 531 d->root->rect.size = coord_Window(d, w, h);
532 arrange_Widget(d->root); 532 arrange_Widget(d->root);
533 draw_Window(d); 533 draw_Window(d);
534} 534}