Skip to content

chore: deprecate systemPreferences.isAeroGlassEnabled() - #45434

Merged
jkleinsc merged 1 commit into
mainfrom
miniak/deprecate-is-aero-glass-enabled
Feb 10, 2025
Merged

jkleinsc merged 1 commit into
mainfrom
miniak/deprecate-is-aero-glass-enabled

Conversation

@miniak

@miniak miniak commented Feb 3, 2025 •

Copy link
Copy Markdown
Contributor

Description of Change

This function has been hardcoded to return true since Electron 23, which only supports Windows 10+, where DWM composition can no longer be disabled.
https://learn.microsoft.com/en-us/windows/win32/dwm/composition-ovw#disabling-dwm-composition-windows7-and-earlier

Checklist

Release Notes

Notes: The systemPreferences.isAeroGlassEnabled() API has been deprecated and will be removed without replacement.

@miniak
miniak requested a review from a team as a code owner February 3, 2025 17:41
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Feb 3, 2025
@miniak miniak self-assigned this Feb 3, 2025
@miniak miniak added target/35-x-y PR should also be added to the "35-x-y" branch. semver/minor backwards-compatible functionality labels Feb 3, 2025
@electron-cation

electron-cation Bot commented Feb 3, 2025 •

Copy link
Copy Markdown

🪦 Deprecation Checklist

🔥 New deprecations in this PR

@electron/wg-releases: Please confirm these deprecation changes conform to our deprecation policies listed in docs/breaking-changes.md, then check the applicable items in the checklist and remove any non-applicable items.

@jkleinsc jkleinsc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API LGTM

@felixrieseberg

Copy link
Copy Markdown
Member

Oh wow, great cleanup. Thank you!

@miniak
miniak force-pushed the miniak/deprecate-is-aero-glass-enabled branch from 6db0ba5 to d196194 Compare February 6, 2025 15:03

@samuelmaddock samuelmaddock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API LGTM

@jkleinsc
jkleinsc merged commit e055ce7 into main Feb 10, 2025
@jkleinsc
jkleinsc deleted the miniak/deprecate-is-aero-glass-enabled branch February 10, 2025 20:17
@release-clerk

release-clerk Bot commented Feb 10, 2025

Copy link
Copy Markdown

Release Notes Persisted

The systemPreferences.isAeroGlassEnabled() API has been deprecated and will be removed without replacement.

@trop

trop Bot commented Feb 10, 2025

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "35-x-y", please check out #45554

@trop trop Bot added in-flight/35-x-y and removed target/35-x-y PR should also be added to the "35-x-y" branch. labels Feb 10, 2025
@trop trop Bot removed the in-flight/35-x-y label Feb 18, 2025
@trop trop Bot added the merged/35-x-y PR was merged to the "35-x-y" branch. label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-review/approved ✅ deprecation-review/complete ✅ merged/35-x-y PR was merged to the "35-x-y" branch. semver/minor backwards-compatible functionality

Projects

Status: 🗑 Complete

Development

Successfully merging this pull request may close these issues.

5 participants