diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2022-08-17 19:08:18 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-25 13:28:50 +0200 |
commit | 46d6347035357fb6ec49e21326e358e2e54557c8 (patch) | |
tree | 5544bab7a7bd9cb67907ba32d91387fa384d2699 /Userland/Services/ConfigServer/ConfigClient.ipc | |
parent | 8b8cee31728b02a500ee530e081c7b767ebb68cd (diff) | |
download | serenity-46d6347035357fb6ec49e21326e358e2e54557c8.zip |
LibGUI+WindowServer: Initialize minimum window size to zero
And remove unnecessary workarounds to the old limit of {50, 50} and
the cautious but arbitrary limit of {1, 1} for other WindowTypes.
Null rects are already the default when calculating minimum window
size and are the least restrictive but valid value.
Also returns early during minimum size calculations for frameless
windows, and verifies against negative minimum sizes and failure to
disable widget min size before setting a minimum window size. Layout
automatically overrides this setting each relayout otherwise.
Diffstat (limited to 'Userland/Services/ConfigServer/ConfigClient.ipc')
0 files changed, 0 insertions, 0 deletions