Windows: Fix window_get_size_with_decorations returning an invalid size when minimizing by storing previous value

This commit is contained in:
Jono Kemball
2025-11-08 20:44:19 +13:00
committed by Jono Kemball
parent 6fd949a6dc
commit 3497a5dbf5
2 changed files with 8 additions and 0 deletions

View File

@ -341,6 +341,7 @@ class DisplayServerWindows : public DisplayServer {
Size2 min_size;
Size2 max_size;
int width = 0, height = 0;
int width_with_decorations = 0, height_with_decorations = 0;
Size2 window_rect;
Point2 last_pos;