From 6f19d53ffd4802a0bafb1a253b2779ec9963a383 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Mon, 6 Dec 2021 04:49:23 +0200 Subject: [PATCH] Fixed bug that prevented proper loading of default settings in sws --- CHANGELOG.md | 1 + ExplorerPatcher/dllmain.c | 1 + libs/sws | 2 +- version.h | 6 +++--- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7bdb20..182dfea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ Tested on build 22000.348. * Fixed some rendering problems when themes are disabled * Fixed regression of [#161](https://github.com/valinet/ExplorerPatcher/issues/161#issuecomment-986234002) (.1) * Possibility to disable per-application window lists (`Alt`+`) ([#283](https://github.com/valinet/ExplorerPatcher/issues/283#issuecomment-986261712)) (.2) +* Fixed bug that prevented proper loading of default settings (.3) ## 22000.348.39 diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 3d69618..51858a7 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -3465,6 +3465,7 @@ DWORD WindowSwitcher(DWORD unused) { return 0; } + sws_WindowSwitcher_InitializeDefaultSettings(sws); sws_ReadSettings(sws); err = sws_error_Report(sws_error_GetFromInternalError(sws_WindowSwitcher_Initialize(&sws, FALSE)), NULL); if (err == SWS_ERROR_SUCCESS) diff --git a/libs/sws b/libs/sws index b0d9d07..5554617 160000 --- a/libs/sws +++ b/libs/sws @@ -1 +1 @@ -Subproject commit b0d9d07916fce59f83689a7428463569606440ef +Subproject commit 5554617cb058e2c66fbdac898557697d61b7516c diff --git a/version.h b/version.h index e6b3a07..a793204 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define VER_MAJOR 22000 #define VER_MINOR 348 #define VER_BUILD_HI 40 -#define VER_BUILD_LO 2 +#define VER_BUILD_LO 3 #define VER_FLAGS VS_FF_PRERELEASE @@ -12,5 +12,5 @@ #define VER_STR(arg) #arg // The String form of the version numbers -#define VER_FILE_STRING VALUE "FileVersion", "22000.348.40.2" -#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.40.2" +#define VER_FILE_STRING VALUE "FileVersion", "22000.348.40.3" +#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.40.3"