mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
Fix tray button positioning
This commit is contained in:
@@ -3230,6 +3230,7 @@ static void RecreateStartButton( size_t taskbarId )
|
||||
{
|
||||
RECT rc;
|
||||
GetWindowRect(btn,&rc);
|
||||
MapWindowPoints(NULL,taskBar.taskBar,(POINT*)&rc,2); // convert to taskbar coordinates
|
||||
SetWindowPos(btn,HWND_TOP,rc.left,rc.top,0,0,SWP_NOSIZE|SWP_NOACTIVATE|SWP_NOZORDER);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user