[WIN32SS] Fix tray popup menus stuck to the bottom of the screen
authorMark Jansen <mark.jansen@reactos.org>
Wed, 7 Aug 2019 19:50:25 +0000 (21:50 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Thu, 8 Aug 2019 17:51:28 +0000 (19:51 +0200)
Dedicated to Joachim
CORE-16297

win32ss/user/ntuser/menu.c

index cc62816..a4e7651 100644 (file)
@@ -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;