mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[EXPLORER] Adjust AUTOHIDE size
GetSystemMetrics(SM_CXBORDER) is too thin. CORE-17927
This commit is contained in:
parent
f153b52dbb
commit
2cc893f514
1 changed files with 2 additions and 2 deletions
|
@ -1869,8 +1869,8 @@ ChangePos:
|
|||
|
||||
void ProcessAutoHide()
|
||||
{
|
||||
INT w = m_TraySize.cx - GetSystemMetrics(SM_CXBORDER) * 2 - 1;
|
||||
INT h = m_TraySize.cy - GetSystemMetrics(SM_CYBORDER) * 2 - 1;
|
||||
INT w = m_TraySize.cx - (GetSystemMetrics(SM_CXSIZEFRAME) + GetSystemMetrics(SM_CXEDGE));
|
||||
INT h = m_TraySize.cy - (GetSystemMetrics(SM_CYSIZEFRAME) + GetSystemMetrics(SM_CYEDGE));
|
||||
|
||||
switch (m_AutoHideState)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue