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. |
||
|---|---|---|
| .. | ||
| Android | ||
| AppKit | ||
| cmake | ||
| Gtk | ||
| Icons | ||
| Qt | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Info.plist | ||