Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

Compositor: rounded windows that hug the MacBook display, one token-driven radius - #641

Merged
techmore merged 2 commits into
devfrom
claude/corners-rebased
Oct 27, 2026
Merged

techmore merged 2 commits into
devfrom
claude/corners-rebased

Conversation

@techmore

Copy link
Copy Markdown
Owner

Same source changes as draft #623, rebased on dev. #623 also carries about 580 committed rust/msdk/target build files, which are left out here.

  • The radius comes from the compiled msdk tokens (screen 20 px by default). PANTHEON_SCREEN_CORNER_RADIUS stays an optional 0-128 override, so nothing depends on a shell env var and it survives reboots and package upgrades.
  • Screenshots render without the built-in-display corner mask (full square content, like macOS). Window rounding is kept. The selection box is drawn below the mask, so it is clipped only where the physical corner is.
  • Fixes the dead-code clippy error on the non-native build (output-change cancel now also runs in the nested path).
  • clippy -D warnings is clean on default and native-drm. native-drm tests pass (207 + 19).
    Not verified on the real display: notch area, external monitors, maximised/fullscreen, dialogs/popovers, GTK/libadwaita/Electron windows.

🤖 Generated with Claude Code

… (rebased from #623 without build artifacts); screenshots skip the screen-corner mask

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@techmore techmore added the allow-frozen-edit Permit edits to frozen app copies (source of truth: mseries-sdk-apps) label Oct 27, 2026
…eenshot_pixels; nested output-change cancel

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
techmore added a commit to techmore/mseries-sdk-apps that referenced this pull request Oct 27, 2026
* Corner tokens: screen and window radius 20

Mirrors techmore/ElementaryOS_MSeries#641 so the SDK source of truth matches:
the three radii in use (display mask, window clip, GTK theme) were unified at 20.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Remove build output that was committed by mistake

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
@techmore
techmore merged commit 37c8cd8 into dev Oct 27, 2026
30 checks passed
@techmore
techmore deleted the claude/corners-rebased branch October 31, 2026 17:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

allow-frozen-edit Permit edits to frozen app copies (source of truth: mseries-sdk-apps)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant