1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-30 18:24:36 +01:00

sws is now disabled by default

This commit is contained in:
Valentin Radu 2021-10-16 02:45:42 +03:00
parent a9dd578b31
commit 37fad00bbd
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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