Skip to content

macOS: Feature-gate CGSSetWindowBackgroundBlurRadius - #4541

Merged
tronical merged 1 commit into
masterfrom
madsmtm/private-apple-apis
Jul 23, 2026
Merged

macOS: Feature-gate CGSSetWindowBackgroundBlurRadius#4541
tronical merged 1 commit into
masterfrom
madsmtm/private-apple-apis

Conversation

@madsmtm

@madsmtm madsmtm commented Mar 24, 2026

Copy link
Copy Markdown
Member

Feature-gate CGSSetWindowBackgroundBlurRadius behind the Cargo feature private-apple-apis.

Fixes #4205.

  • Tested on all platforms changed
    • We don't really have an example to test it properly (since all our examples render something static), but calling set_blur(true) works both with and without the feature enabled.
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior

@madsmtm madsmtm added B - bug Dang, that shouldn't have happened DS - appkit Affects the AppKit/macOS backend labels Mar 24, 2026
Comment thread winit-appkit/src/window_delegate.rs
Comment thread winit-appkit/src/window_delegate.rs
@peterklingelhofer

Copy link
Copy Markdown

Hit this on the exhale MAS submission this week. The feature-gate approach in this PR matches what we ended up shipping as a local vendor/winit patch.

@danifunker

Copy link
Copy Markdown

Is there any update on this PR? Would be nice to not have to write a custom patch every time I need to submit a new app for MAS to review :)

@pszsh

pszsh commented Jun 27, 2026

Copy link
Copy Markdown

I just saw this thread after I submitted my PR.

#4607

I'm somewhat eager to hear what y'all think. I think it might make everyone happy. If not, I thought of one other way to do it besides this way. So, let me know.

@tronical

Copy link
Copy Markdown
Contributor

I'll try to shepherd this change in. #4632 seems like a sensible follow-up @pszsh that IMO should be rebased once this is in.

@tronical
tronical force-pushed the madsmtm/private-apple-apis branch from 12e2d24 to 8bde97b Compare July 23, 2026 15:02
Behind the Cargo feature `private-apple-apis`.
@tronical
tronical force-pushed the madsmtm/private-apple-apis branch from 8bde97b to 27b28e4 Compare July 23, 2026 15:23
@tronical
tronical merged commit 0ea5f3c into master Jul 23, 2026
99 of 100 checks passed
@tronical
tronical deleted the madsmtm/private-apple-apis branch July 23, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B - bug Dang, that shouldn't have happened DS - appkit Affects the AppKit/macOS backend

Development

Successfully merging this pull request may close these issues.

_CGSSetWindowBackgroundBlurRadius non-public or deprecated API

6 participants