mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-18 22:47:29 +00:00
This commit: - merges the two(!) places that defined independently the minimum size of a window. - splits Window::normalize_rect(), which was originally just a function to apply the minimum size requirement, and has taken on the additional job of nudging windows back onto the desktop. This inadvertantly fixes a crash that happens when a malicious program creates a window of size (0, 0). Now, a window at [0,0 50x50] is created instead.
34 KiB
34 KiB