mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[WIN32SS] Fix tray popup menus stuck to the bottom of the screen
Dedicated to Joachim CORE-16297
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user