Skip to content

Commit

Permalink
Start10: Made SyncSettingsFromRegToCDS() to only run when the old s…
Browse files Browse the repository at this point in the history
…tart menu is enabled
  • Loading branch information
Amrsatrio committed Oct 1, 2023
1 parent e28940d commit 148e398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -12337,7 +12337,7 @@ int Start_SetWindowRgn(HWND hWnd, HRGN hRgn, BOOL bRedraw)
SetWindowPos(hWnd, NULL, mi.rcWork.left, mi.rcWork.top, 0, 0, SWP_NOSIZE | SWP_FRAMECHANGED | SWP_ASYNCWINDOWPOS);
}
}
if (bIsWindowVisible && IsWindows11Version22H2Build2134OrHigher())
if (bIsWindowVisible && dwStartShowClassicMode && IsWindows11Version22H2Build2134OrHigher())
{
extern void NeedsRo_SyncSettingsFromRegToCDS();
NeedsRo_SyncSettingsFromRegToCDS();
Expand Down

0 comments on commit 148e398

Please sign in to comment.