Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow private Win32 dark mode APIs on Windows 11 build 22623 #649

Merged
merged 1 commit into from
Dec 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
foobar2000 API on foobar2000 1.6.1 and newer.
[[#647](https://github.com/reupen/columns_ui/pull/647)]

- Dark menus were enabled on Windows 11 build 22623.
[[#649](https://github.com/reupen/columns_ui/pull/649)]

### Bug fixes

- A bug where ampersands didn’t render correctly in tab names in the Playlist
Expand Down
2 changes: 1 addition & 1 deletion foo_ui_columns/dark_mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bool are_private_apis_allowed()
if (osvi.dwMajorVersion != 10 || osvi.dwMinorVersion != 0)
return false;

return osvi.dwBuildNumber >= 19041 && osvi.dwBuildNumber <= 22622;
return osvi.dwBuildNumber >= 19041 && osvi.dwBuildNumber <= 22623;
}

void set_app_mode(PreferredAppMode mode)
Expand Down