[macOS] Fix borderless window maximization.

This commit is contained in:
Pāvels Nadtočajevs
2025-05-30 00:13:53 +03:00
parent b89c47bb85
commit 798a644dd5
3 changed files with 29 additions and 3 deletions

View File

@ -111,7 +111,8 @@ public:
Size2i size;
Vector2i wb_offset = Vector2i(14, 14);
NSRect last_frame_rect;
NSRect last_frame_rect = NSMakeRect(0, 0, 0, 0);
NSRect pre_zoom_rect = NSMakeRect(0, 0, 0, 0);
bool im_active = false;
Size2i im_position;