mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-24 07:30:22 +01:00
Mitigation for certain Explorer crashes at startup
This commit is contained in:
parent
9d00181c4e
commit
baeabe8979
@ -3465,6 +3465,17 @@ DWORD WindowSwitcher(DWORD unused)
|
||||
while (TRUE)
|
||||
{
|
||||
//Sleep(5000);
|
||||
while (!FindWindowExW(
|
||||
NULL,
|
||||
NULL,
|
||||
L"Shell_TrayWnd",
|
||||
NULL
|
||||
))
|
||||
{
|
||||
printf("[sws] Waiting for taskbar...\n");
|
||||
Sleep(100);
|
||||
}
|
||||
Sleep(100);
|
||||
sws_ReadSettings(NULL);
|
||||
if (sws_IsEnabled)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user