mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:55:41 +00:00
[NTUSER] menu.c position fix to not obscure 'Close' (#6923)
CORE-19579
When IS_SYSTEM_MENU was redefined in 3ae0ccdcc
,
this broke the logic here. So now we restore the correctly working logic.
This commit is contained in:
parent
50d260a7f0
commit
6338913f26
1 changed files with 1 additions and 1 deletions
|
@ -3394,7 +3394,7 @@ static PMENU FASTCALL MENU_ShowSubPopup(PWND WndOwner, PMENU Menu, BOOL SelectFi
|
||||||
}
|
}
|
||||||
Item->fState |= MF_MOUSESELECT;
|
Item->fState |= MF_MOUSESELECT;
|
||||||
|
|
||||||
if (IS_SYSTEM_MENU(Menu))
|
if (IS_SYSTEM_MENU(Menu) && !(Menu->fFlags & MNF_POPUP))
|
||||||
{
|
{
|
||||||
MENU_InitSysMenuPopup(Item->spSubMenu, pWnd->style, pWnd->pcls->style, HTSYSMENU);
|
MENU_InitSysMenuPopup(Item->spSubMenu, pWnd->style, pWnd->pcls->style, HTSYSMENU);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue