From 37fad00bbdcb775c9fa75948ddb4be0386574e50 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Sat, 16 Oct 2021 02:45:42 +0300 Subject: [PATCH] sws is now disabled by default --- ExplorerPatcher/dllmain.c | 4 +--- ExplorerPatcher/settings.reg | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 6c7a574..bfcfe7c 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -1826,7 +1826,7 @@ DWORD SignalShellReady(DWORD wait) #pragma region "Window Switcher" -DWORD sws_IsEnabled = TRUE; +DWORD sws_IsEnabled = FALSE; void sws_ReadSettings(sws_WindowSwitcher* sws) { @@ -1926,7 +1926,6 @@ DWORD WindowSwitcher(DWORD unused) if (err == SWS_ERROR_SUCCESS) { sws_WindowSwitcher_RefreshTheme(sws); - // set settings HANDLE hEvents[3]; hEvents[0] = sws->hEvExit; hEvents[1] = hSwsSettingsChanged; @@ -1947,7 +1946,6 @@ DWORD WindowSwitcher(DWORD unused) if (dwRes == WAIT_OBJECT_0 + 1) { sws_ReadSettings(sws); - // set settings if (!sws_IsEnabled) { break; diff --git a/ExplorerPatcher/settings.reg b/ExplorerPatcher/settings.reg index 5ff9e64..9ad4362 100644 --- a/ExplorerPatcher/settings.reg +++ b/ExplorerPatcher/settings.reg @@ -119,7 +119,7 @@ ;T Window switcher [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ExplorerPatcher\sws] -;b Use Windows 10 window switcher (Alt+Tab) +;b Enable Windows 10 window switcher (Alt+Tab) * "Enabled"=dword:00000000 ;t The following settings only apply to the Windows 10 window switcher: ;b Include desktop