Commit 755abced authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Always use the default alignment when displaying submenu popups.

parent cb3b7237
......@@ -2395,6 +2395,9 @@ static HMENU MENU_ShowSubPopup( HWND hwndOwner, HMENU hmenu,
}
}
/* use default alignment for submenus */
wFlags &= ~(TPM_CENTERALIGN | TPM_RIGHTALIGN | TPM_VCENTERALIGN | TPM_BOTTOMALIGN);
MENU_ShowPopup( hwndOwner, item->hSubMenu, menu->FocusedItem, wFlags,
rect.left, rect.top, rect.right, rect.bottom );
if (selectFirst)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment