Skip to content

Commit e70e372

Browse files
committed
hammer: Adjust process window to be in first view location when full screen
1 parent 375e958 commit e70e372

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hammer/processwnd.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@ void CProcessWnd::GetReady(LPCTSTR pszDocName, CWnd *parent)
294294
unsigned newDpi = ::GetDpiForWindow(parent->GetSafeHwnd());
295295

296296
CreateEx(0, strClass, title.GetString(), WS_OVERLAPPEDWINDOW,
297-
se::windows::ui::CDpiWindowBehavior::ScaleByDpi(USER_DEFAULT_SCREEN_DPI, 50, newDpi),
298-
se::windows::ui::CDpiWindowBehavior::ScaleByDpi(USER_DEFAULT_SCREEN_DPI, 50, newDpi),
297+
se::windows::ui::CDpiWindowBehavior::ScaleByDpi(USER_DEFAULT_SCREEN_DPI, 44, newDpi),
298+
se::windows::ui::CDpiWindowBehavior::ScaleByDpi(USER_DEFAULT_SCREEN_DPI, 68, newDpi),
299299
se::windows::ui::CDpiWindowBehavior::ScaleByDpi(USER_DEFAULT_SCREEN_DPI, 800, newDpi),
300300
se::windows::ui::CDpiWindowBehavior::ScaleByDpi(USER_DEFAULT_SCREEN_DPI, 600, newDpi),
301301
AfxGetMainWnd()->GetSafeHwnd(), nullptr);

0 commit comments

Comments
 (0)