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

This commit is contained in:
Nishi 2026-04-30 08:37:50 +09:00
commit a6adca6696
9 changed files with 105 additions and 9 deletions

View file

@ -52,8 +52,8 @@ static void detect_darktheme(MwLL handle) {
t = dw ? 0 : 1;
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);
}
MwLLDispatch(handle, dark_theme, &t);