https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4ed752e2c56830bae761c4cdb6db24bf8394a412

commit 4ed752e2c56830bae761c4cdb6db24bf8394a412
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Fri Dec 24 07:52:02 2021 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Fri Dec 24 07:52:02 2021 +0900

    [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)
         {

Reply via email to