Skip to content

Commit 39dc75a

Browse files
committed
Fix tray button positioning
1 parent aba85f6 commit 39dc75a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/StartMenu/StartMenuDLL/StartMenuDLL.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -3230,6 +3230,7 @@ static void RecreateStartButton( size_t taskbarId )
32303230
{
32313231
RECT rc;
32323232
GetWindowRect(btn,&rc);
3233+
MapWindowPoints(NULL,taskBar.taskBar,(POINT*)&rc,2); // convert to taskbar coordinates
32333234
SetWindowPos(btn,HWND_TOP,rc.left,rc.top,0,0,SWP_NOSIZE|SWP_NOACTIVATE|SWP_NOZORDER);
32343235
}
32353236
}

0 commit comments

Comments
 (0)