mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-14 11:07:36 +01:00
All: Fixed clock and hotkey not invoking action center on Windows 10; fixed sws close button misalignment on Windows 10
This commit is contained in:
parent
b567f5e6ce
commit
6e21fa70e3
@ -1968,7 +1968,7 @@ INT64 Shell_TrayWndSubclassProc(
|
||||
ToggleTaskbarAutohide();
|
||||
return 0;
|
||||
}
|
||||
else if (uMsg == WM_HOTKEY && wParam == 500 && lParam == MAKELPARAM(MOD_WIN, 0x41))
|
||||
else if (uMsg == WM_HOTKEY && wParam == 500 && lParam == MAKELPARAM(MOD_WIN, 0x41) && IsWindows11())
|
||||
{
|
||||
InvokeActionCenter();
|
||||
return 0;
|
||||
@ -2279,7 +2279,14 @@ INT64 ClockButtonSubclassProc(
|
||||
{
|
||||
if (FindWindowW(L"Windows.UI.Core.CoreWindow", NULL))
|
||||
{
|
||||
ToggleNotificationsFlyout();
|
||||
if (IsWindows11())
|
||||
{
|
||||
ToggleNotificationsFlyout();
|
||||
}
|
||||
else
|
||||
{
|
||||
ToggleActionCenter();
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
@ -25,12 +25,15 @@
|
||||
;x 0 Left
|
||||
;x 2 Right
|
||||
;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_MMTaskbarPosition"=dword:00000003
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
|
||||
;c 3 Search
|
||||
;x 0 Hidden
|
||||
;x 1 Show search icon
|
||||
;x 2 Show search box
|
||||
"SearchboxTaskbarMode"=dword:00000001
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
||||
;b Show Cortana button
|
||||
"ShowCortanaButton"=dword:00000000
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
|
||||
;b Show Search button
|
||||
"SearchboxTaskbarMode"=dword:00000001
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
|
||||
;b Show Task view button
|
||||
"ShowTaskViewButton"=dword:00000001
|
||||
@ -107,9 +110,10 @@
|
||||
;x 0 Windows 7 flyout
|
||||
"EnableMtcUvc"=dword:00000001
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell]
|
||||
;c 2 Clock
|
||||
;c 3 Clock
|
||||
;x 0 Windows 10 flyout (default)
|
||||
;x 1 Windows 7
|
||||
;x 2 Action Center
|
||||
"UseWin32TrayClockExperience"=dword:00000000
|
||||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell]
|
||||
;c 2 Battery
|
||||
|
2
libs/sws
2
libs/sws
@ -1 +1 @@
|
||||
Subproject commit e6ac14f701589351d6c242c13235ad026a99e327
|
||||
Subproject commit 6fdceae19a8f4339cd59618b3bbd35dac574ac34
|
Loading…
Reference in New Issue
Block a user