From 4ed752e2c56830bae761c4cdb6db24bf8394a412 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Fri, 24 Dec 2021 07:52:02 +0900 Subject: [PATCH] [EXPLORER] Adjust Taskbar AUTOHIDE size Part 2 The previous commit 2cc893f was too thick. CORE-17927 --- base/shell/explorer/traywnd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/shell/explorer/traywnd.cpp b/base/shell/explorer/traywnd.cpp index 0bcb6d81327..57acf0d28a0 100644 --- a/base/shell/explorer/traywnd.cpp +++ b/base/shell/explorer/traywnd.cpp @@ -1869,8 +1869,8 @@ ChangePos: void ProcessAutoHide() { - INT w = m_TraySize.cx - (GetSystemMetrics(SM_CXSIZEFRAME) + GetSystemMetrics(SM_CXEDGE)); - INT h = m_TraySize.cy - (GetSystemMetrics(SM_CYSIZEFRAME) + GetSystemMetrics(SM_CYEDGE)); + INT w = m_TraySize.cx - GetSystemMetrics(SM_CXSIZEFRAME); + INT h = m_TraySize.cy - GetSystemMetrics(SM_CYSIZEFRAME); switch (m_AutoHideState) {