summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/EmojiInputDialog.cpp
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-08-17 19:08:18 -0400
committerAndreas Kling <kling@serenityos.org>2022-08-25 13:28:50 +0200
commit46d6347035357fb6ec49e21326e358e2e54557c8 (patch)
tree5544bab7a7bd9cb67907ba32d91387fa384d2699 /Userland/Libraries/LibGUI/EmojiInputDialog.cpp
parent8b8cee31728b02a500ee530e081c7b767ebb68cd (diff)
downloadserenity-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/Libraries/LibGUI/EmojiInputDialog.cpp')
0 files changed, 0 insertions, 0 deletions