summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
db3c333)
- Fix rectangle copypasta in ITrayWindowImpl_RegLoadSettings. Patch by Elton Chung
svn path=/trunk/; revision=54231
ITrayWindowImpl_ResizeWorkArea(IN OUT ITrayWindowImpl *This)
{
RECT rcTray,rcWorkArea;
ITrayWindowImpl_ResizeWorkArea(IN OUT ITrayWindowImpl *This)
{
RECT rcTray,rcWorkArea;
/* If monitor has changed then fix the previous monitors work area */
if(This->PreviousMonitor!=This->Monitor)
{
/* If monitor has changed then fix the previous monitors work area */
if(This->PreviousMonitor!=This->Monitor)
{
rcScreen.left = 0;
rcScreen.top = 0;
rcScreen.right = GetSystemMetrics(SM_CXSCREEN);
rcScreen.left = 0;
rcScreen.top = 0;
rcScreen.right = GetSystemMetrics(SM_CXSCREEN);
- rcScreen.right = GetSystemMetrics(SM_CYSCREEN);
+ rcScreen.bottom = GetSystemMetrics(SM_CYSCREEN);
ITrayWindowImpl_GetScreenRectFromRect(This,
&rcScreen,
MONITOR_DEFAULTTOPRIMARY);
ITrayWindowImpl_GetScreenRectFromRect(This,
&rcScreen,
MONITOR_DEFAULTTOPRIMARY);