Size the canvas by logical size, redraw on change

This commit is contained in:
Mars-Wave
2025-10-25 18:05:11 +02:00
parent 063d2ad2d5
commit ca0559dd61
2 changed files with 30 additions and 30 deletions
+1
View File
@@ -595,6 +595,7 @@ static void output_logical_size(void *data, struct zxdg_output_v1 *zxdg_output_v
if (head != NULL) {
head->logical_width = width;
head->logical_height = height;
wd_ui_reset_head(head, 0);
}
}