Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Merge branch 'valinet-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
creeper-0910 committed May 28, 2022
2 parents 898ddd9 + 84dd3ac commit 8fb5008
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 15 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ OSビルド 22000.708 でテストされました。

* sws: ウィンドウが点滅しているときにスイッチャーが表示されないと、不要なペイントイベントが発生する不具合を修正

##### 3

* Windows 10 のタスクバー使用時に「デスクトップを表示」ボタンを非表示にし、機能を保持するオ プションを追加しました。
* Windows 10 でスタートメニューがデフォルトで中央に表示される不具合を修正

## 22000.675.45

OSビルド 22000.675 でテストされました。
Expand Down Expand Up @@ -51,6 +56,10 @@ OSビルド 22000.675 でテストされました。

* sws: Fixed a bug that created unnecessary paint events when a window was flashing and the switcher is not shown

##### 3

* sws: Fixed a bug that created unnecessary paint events when a window was flashing and the switcher is not shown

## 22000.613.44

Tested on OS build 22000.613.
Expand Down
11 changes: 10 additions & 1 deletion ExplorerPatcher/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -5280,6 +5280,7 @@ INT64 ShowDesktopSubclassProc(
{
lRes = 0;
}
else if (dwVal) PostMessageW(hWnd, 794, 0, 0);
}
return lRes;
}
Expand Down Expand Up @@ -7576,6 +7577,13 @@ HTHEME explorer_OpenThemeDataForDpi(
}
return hTheme;
}
else if ((*((WORD*)&(pszClassList)+1)) && !wcscmp(pszClassList, L"TaskbarShowDesktop"))
{
DWORD dwVal = 0, dwSize = sizeof(DWORD);
RegGetValueW(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", L"TaskbarSD", RRF_RT_REG_DWORD, NULL, &dwVal, &dwSize);
if (dwVal == 2) return NULL;
return OpenThemeDataForDpi(hwnd, pszClassList, dpi);
}

// task list - Taskband2 from CTaskListWnd::_HandleThemeChanged
if (bClassicThemeMitigations && (*((WORD*)&(pszClassList)+1)) && !wcscmp(pszClassList, L"Taskband2"))
Expand Down Expand Up @@ -10594,7 +10602,8 @@ void StartMenu_LoadSettings(BOOL bRestartIfChanged)
dwStartShowClassicMode = dwVal;

dwSize = sizeof(DWORD);
dwVal = 1;
if (IsWindows11()) dwVal = 1;
else dwVal = 0;
RegQueryValueExW(
hKey,
TEXT("TaskbarAl"),
Expand Down
30 changes: 22 additions & 8 deletions ExplorerPatcher/settings.reg
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b タスクビューボタンを表示
"ShowTaskViewButton"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b デスクトップボタンを表示
"TaskbarSD"=dword:00000001
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;b 自動でタスク バーを隠す
;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_AutoHideTaskbar"=dword:00000000
Expand Down Expand Up @@ -83,6 +80,7 @@
;x 0 大きい (既定)
"TaskbarSmallIcons"=dword:00000000
;e
;e
;g Taskbar_Windows10Section


Expand All @@ -97,17 +95,33 @@
[HKEY_CURRENT_USER\Software\Microsoft\TabletTip\1.7]
;b タッチキーボードボタンを表示する *
"TipbandDesiredVisibility"=dword:00000000
;s SystemTray_Section98 IsOldTaskbar
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b Show seconds in the clock
"ShowSecondsInSystemClock"=dword:00000000
;g SystemTray_Section98
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;i Control Center button *
"HideControlCenterButton"=dword:00000000
;s SystemTray_Section109 IsOldTaskbar
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;c 3 Show desktop button
;x 1 Enabled (default)
;x 0 Disabled
;x 2 Hidden
"TaskbarSD"=dword:00000001
;g SystemTray_Section109
;s SystemTray_Section117 !IsOldTaskbar
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b Show desktop button
"TaskbarSD"=dword:00000001
;g SystemTray_Section117
;s SystemTray_Windows10Section IsOldTaskbar
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;p 2
;b システムトレイアイコンにWindows 11 のスタイルを適用 *
"SkinIcons"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b 時計に秒を表示する
"ShowSecondsInSystemClock"=dword:00000000
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;b コントロールセンターのボタンを隠す *
"HideControlCenterButton"=dword:00000000
;a ネットワークアイコンを右クリックし、「ネットワークとインターネットの設定を開く」
;c 3 を選択した時開くウィンドウ
;x 0 設定アプリのネットワーク設定 (既定)
Expand Down
9 changes: 6 additions & 3 deletions ExplorerPatcher/settings10.reg
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b Show Task view button
"ShowTaskViewButton"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b Show Desktop button
"TaskbarSD"=dword:00000001
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;b Automatically hide the taskbar
;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_AutoHideTaskbar"=dword:00000000
Expand Down Expand Up @@ -100,6 +97,12 @@
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;b Show seconds in the clock
"ShowSecondsInSystemClock"=dword:00000000
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
;c 3 Show desktop button
;x 1 Enabled (default)
;x 0 Disabled
;x 2 Hidden
"TaskbarSD"=dword:00000001
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;a Choosing 'Open Network && Internet settings' when right clicking the
;c 3 network icon should open:
Expand Down
6 changes: 3 additions & 3 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#define VER_MAJOR 22000
#define VER_MINOR 708
#define VER_BUILD_HI 46
#define VER_BUILD_LO 2
#define VER_BUILD_LO 3
#define VER_FLAGS VS_FF_PRERELEASE


Expand All @@ -12,5 +12,5 @@
#define VER_STR(arg) #arg

// The String form of the version numbers
#define VER_FILE_STRING VALUE "FileVersion", "22000.708.46.2"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.708.46.2"
#define VER_FILE_STRING VALUE "FileVersion", "22000.708.46.3"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.708.46.3"

0 comments on commit 8fb5008

Please sign in to comment.