diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 9b58640..ba38f57 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -9651,7 +9651,7 @@ INT64 twinui_pcshell_IsUndockedAssetAvailableHook(INT a1, INT64 a2, INT64 a3, co return 0; } // if IsSnapAssist and SnapAssistSettings == Windows 10 - else if (a1 == 4 && dwSnapAssistSettings == 3) + else if (a1 == 4 && dwSnapAssistSettings == 3 && !IsWindows11Version22H2OrHigher()) { return 0; } diff --git a/ExplorerPatcher/settings.reg b/ExplorerPatcher/settings.reg index 3d9ea94..06325d8 100644 --- a/ExplorerPatcher/settings.reg +++ b/ExplorerPatcher/settings.reg @@ -631,11 +631,13 @@ [HKEY_CURRENT_USER\Software\ExplorerPatcher] ;b Disable quadrants when snapping windows * "DisableAeroSnapQuadrants"=dword:00000000 +;s Other_SnapAssistStyle !IsWindows11Version22H2OrHigher [HKEY_CURRENT_USER\Software\ExplorerPatcher] ;c 2 Snap Assist style ;x 0 Windows 11 (default) ;x 3 Windows 10 "SnapAssistSettings"=dword:00000000 +;g Other_SnapAssistStyle [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ;c 6 Default action in the Alt+F4 dialog on the desktop ;x 256 Switch user