mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-14 11:07:36 +01:00
GUI, Main: Disable non-functional Snap Assist style option on OS builds 22621+
This commit is contained in:
parent
cb951df606
commit
25660c908a
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user