Repository navigation
Compositor: rounded windows that hug the MacBook display, one token-driven radius (rebased #555) - #623
Compositor: rounded windows that hug the MacBook display, one token-driven radius (rebased #555)#623techmore wants to merge 3 commits into
Conversation
…isplay policy The Rust compositor now draws the corner system of SDK-CORNERS.md: a screen mask on the built-in output (above windows, dock, panels and the lock screen), a GLES texture shader that clips toplevels to corners.window (circular or continuous superellipse), corners.screen where a window corner meets a display corner, corners.popover for popups, panels rounded only away from the screen edge, external outputs square. Tokens come from msdk/data/tokens.json. Geometry is unit-tested; nested run verified in a private Xvfb, not on the built-in display. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… token-driven corner radius (screen/window 20) replacing the provisional mask
|
Try-out package for the owner (not installed): the CI-built |
|
Note 🤖 Claude Opus 5.5 (Claude Code) responding on behalf of techmore This PR accidentally commits 582 Cargo build files under To clean the branch before merging: #628 changes |
PR #623 committed 582 files from rust/msdk/target because only rust/target/ was ignored. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…riven radius (#641) * Compositor: rounded windows that hug the display, token-driven radius (rebased from #623 without build artifacts); screenshots skip the screen-corner mask Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Screenshots skip the screen-corner mask; move tests to the end of screenshot_pixels; nested output-change cancel Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Superseded by #641, which merged the same source changes (rebased on dev) without the ~580 |
Rebases and completes #555 on current dev, and unifies the corner radius.
What was wrong
The session used three different radii: a 20 px display mask (
dev's provisionalscreen_corners.rs), a window clip that had been 12 and was hand-changed to 20 on 2026-10-22, a 20 px GTK theme, and SDK tokens saying 14/12. Windows were not clipped by the Rust compositor at all.Changes
screen, other screen-edge contact square, free cornerswindow, popupspopover, panels/dock rounded away from edges, external outputs all square)dev's provisionalscreen_corners.rs; itsPANTHEON_SCREEN_CORNER_RADIUSoverride (0-128, 0 = off) is kept and now drives the same tokenscreenandwindow14/12 -> 20, the value you had already set by hand (SDK-CORNERS.md and BUG-FIX-ROADMAP updated)CornerRendererbound on the new screenshot path (devcode that postdates Compositor: rounded corners (screen mask, window clip shader, hug-the-display) #555); moved a test module so clippy passesChecked
cargo fmt; clippy -D warnings on default and
native-drm; 165 compositor tests (new: override parsing); allmsdktests.Not done
Not installed; the running session is untouched. No visual check on the built-in display and no app matrix (GTK, libadwaita, third-party, maximized/fullscreen, dialogs, popovers). 20 is a calibration starting point, not a measured panel radius. Supersedes #555.