comment
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-30 12:35:42 +09:00
commit d1f97c0fa4
5 changed files with 14 additions and 8 deletions

View file

@ -51,10 +51,13 @@ static void detect_darktheme(MwLL handle) {
t = dw ? 0 : 1;
/* no don't do this here (nishi) */
#if 0
if(t && DwmSetWindowAttribute != NULL) {
// LPARAM style = GetWindowLongPtr(handle->gdi.hWnd, GWL_STYLE);
// if(!(style & WS_CHILD)) MwLLSetDarkTheme(handle, 1);
LPARAM style = GetWindowLongPtr(handle->gdi.hWnd, GWL_STYLE);
if(!(style & WS_CHILD)) MwLLSetDarkTheme(handle, 1);
}
#endif
MwLLDispatch(handle, dark_theme, &t);
}