projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f77af
)
[WIN32SS] Fix tray popup menus stuck to the bottom of the screen
author
Mark Jansen
<mark.jansen@reactos.org>
Wed, 7 Aug 2019 19:50:25 +0000
(21:50 +0200)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/win32ss/user/ntuser/menu.c
b/win32ss/user/ntuser/menu.c
index
cc62816
..
a4e7651
100644
(file)
--- a/
win32ss/user/ntuser/menu.c
+++ b/
win32ss/user/ntuser/menu.c
@@
-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;