Skip to content

Commit

Permalink
Fixed #525 (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
valinet committed Dec 11, 2021
1 parent f154cc1 commit ef7ee79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -3464,7 +3464,7 @@ DWORD WindowSwitcher(DWORD unused)

while (TRUE)
{
Sleep(5000);
//Sleep(5000);
sws_ReadSettings(NULL);
if (sws_IsEnabled)
{
Expand All @@ -3475,6 +3475,7 @@ DWORD WindowSwitcher(DWORD unused)
return 0;
}
sws_WindowSwitcher_InitializeDefaultSettings(sws);
sws->dwWallpaperSupport = SWS_WALLPAPERSUPPORT_EXPLORER;
sws_ReadSettings(sws);
err = sws_error_Report(sws_error_GetFromInternalError(sws_WindowSwitcher_Initialize(&sws, FALSE)), NULL);
if (err == SWS_ERROR_SUCCESS)
Expand Down

0 comments on commit ef7ee79

Please sign in to comment.