mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[WIN32SS] Fix tray popup menus stuck to the bottom of the screen
Dedicated to Joachim CORE-16297
This commit is contained in:
parent
33f77af348
commit
1c8cdaa470
1 changed files with 1 additions and 1 deletions
|
@ -3027,7 +3027,7 @@ static BOOL FASTCALL MENU_ShowPopup(PWND pwndOwner, PMENU menu, UINT id, UINT fl
|
|||
/* And the bottom */
|
||||
if (y + height > monitor->rcMonitor.bottom)
|
||||
{
|
||||
if ((y - height) < monitor->rcMonitor.top || y >= monitor->rcMonitor.bottom || bIsPopup)
|
||||
if ((y - height) < monitor->rcMonitor.top || y >= monitor->rcMonitor.bottom)
|
||||
y = monitor->rcMonitor.bottom - height;
|
||||
else
|
||||
y -= height;
|
||||
|
|
Loading…
Reference in a new issue