ladybird/UI
Andreas Kling b348f141d2 UI/Qt: Draw a border around frameless windows
When using client-side decorations, the window was a flat rectangle
with no outline, so its edge disappeared against similarly colored
backgrounds. Paint a 1px border in a new chrome window outline color
and reserve a matching 1px contents margin so child widgets do not
cover it.

The outline color matches chrome_border() in dark mode, but is darker
in light mode, since the window edge has to hold up against arbitrary
backdrops behind the window rather than our own chrome surfaces.

The border is skipped when the window is maximized or fullscreen, and
on macOS, where frameless windows already get rounded corners and a
native shadow.
2026-06-11 11:15:35 +02:00
..
Android Meta: Remove obsolete Lagom host-tools build 2026-06-08 01:11:40 +02:00
AppKit LibWebView+UI: Add a small history application menu 2026-06-10 20:27:36 +02:00
cmake LibWebView: Add about:history to view, query and mangage browser history 2026-06-10 20:27:36 +02:00
Gtk LibURL+LibWeb+LibWebView: Move internal URLs to their own header 2026-06-10 20:27:36 +02:00
Icons UI/Qt: Stop using TVG icons 2026-05-31 19:20:59 +02:00
Qt UI/Qt: Draw a border around frameless windows 2026-06-11 11:15:35 +02:00
.gitignore Everywhere: Move the Ladybird folder to UI 2024-11-10 12:50:45 +01:00
CMakeLists.txt Meta: Define helper processes for Ladybird and test-web in one place 2026-05-28 14:45:48 +01:00
Info.plist Everywhere: Move the Ladybird folder to UI 2024-11-10 12:50:45 +01:00