1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:01:01 +00:00
serenity/Userland
Sam Atkins 11cb7c7b28 WindowServer: Ensure windows are wide enough to show title buttons :^)
Previously, windows without a defined minimum size (or one produced from
the minimum sizes of their contents) would be shrunk down to 0 x 0,
which makes the title buttons stick out the side and become impossible
to interact with.

This patch uses the theme metrics to calculate a minimum size that is as
small as possible while still keeping the title buttons and app icon
usable. This is combined with the minimum size requested by the app
itself.

Switching themes automatically updates the calculated minimum sizes for
all existing windows. As noted, if the new theme has narrower title
buttons then the old minimum is kept, but this shouldn't be noticeable
unless you're looking for it.
2022-07-27 00:01:42 +01:00
..
Applets WorkspacePicker: Immediately update active workspace on click or scroll 2022-07-22 21:54:20 +01:00
Applications Browser: Give BookmarksBarWidget a minimum size 2022-07-27 00:01:42 +01:00
Demos Everywhere: Prefix 'TYPEDEF_DISTINCT_ORDERED_ID' with 'AK_' 2022-07-22 23:09:43 +01:00
DevTools Profiler: Fix use after free in FlameGraphView 2022-07-24 23:19:09 +01:00
DynamicLoader LibPthread: Implement named semaphores 2022-07-21 16:39:22 +02:00
Games Minesweeper: Remove decimal point from the time label 2022-07-24 14:09:48 +01:00
Libraries LibAudio: Seek to the first frame on reset in FLAC 2022-07-26 23:59:06 +01:00
Services WindowServer: Ensure windows are wide enough to show title buttons :^) 2022-07-27 00:01:42 +01:00
Shell Shell: Add the |& construct for piping stderr along with stdout 2022-07-17 00:51:31 +00:00
Utilities chown: Implement recursion 2022-07-25 23:52:46 +01:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00