diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-26 13:33:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-26 13:33:54 +0400 |
commit | 87f13261087a040bd80064e8a03a05e2299b6c32 (patch) | |
tree | b4a043b7e50019efd314edb7956e6630b9fe06a6 | |
parent | 8558fdd4c7e09802357afc5eb99606575f5dc6b4 (diff) |
fix for own regression in win32 from r54225, wrong args used in getAllDisplayDimensions()
caused bug [#34391] Window position not saving correctly for next start-up
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index b8a403578d2..a6e14ac362e 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -217,8 +217,8 @@ void GHOST_SystemWin32::getMainDisplayDimensions(GHOST_TUns32& width, GHOST_TUns void GHOST_SystemWin32::getAllDisplayDimensions(GHOST_TUns32& width, GHOST_TUns32& height) const { - width = ::GetSystemMetrics(SM_XVIRTUALSCREEN); - height = ::GetSystemMetrics(SM_YVIRTUALSCREEN); + width = ::GetSystemMetrics(SM_CXVIRTUALSCREEN); + height = ::GetSystemMetrics(SM_CYVIRTUALSCREEN); } GHOST_IWindow *GHOST_SystemWin32::createWindow( |