16 Feb
2023
16 Feb
'23
6:55 a.m.
Zhiyi Zhang (@zhiyi) commented about programs/winecfg/theme.c:
/* UXTHEME functions not in the headers */
+static const WCHAR *subkey = L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize"; +static const WCHAR *name = L"AppsUseLightTheme"; +static const HKEY root = HKEY_CURRENT_USER; + +typedef struct +{ + DWORD value; + const WCHAR *descr; +} AppTheme; + +AppTheme app_themes[] = +{ + { 0, L"Dark" }, + { 1, L"Light" }, Let's put "Light" as the first item since it's the default. Remember to change the index calculation logic.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2183#note_24490