From 6338913f26934540350146d3a8e3e4f47cec2617 Mon Sep 17 00:00:00 2001 From: Doug Lyons Date: Fri, 24 May 2024 19:15:07 -0500 Subject: [PATCH] [NTUSER] menu.c position fix to not obscure 'Close' (#6923) CORE-19579 When IS_SYSTEM_MENU was redefined in https://github.com/reactos/reactos/commit/3ae0ccdcc, this broke the logic here. So now we restore the correctly working logic. --- win32ss/user/ntuser/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32ss/user/ntuser/menu.c b/win32ss/user/ntuser/menu.c index 2b7a0c51f7a..2c2bfd80506 100644 --- a/win32ss/user/ntuser/menu.c +++ b/win32ss/user/ntuser/menu.c @@ -3394,7 +3394,7 @@ static PMENU FASTCALL MENU_ShowSubPopup(PWND WndOwner, PMENU Menu, BOOL SelectFi } 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);