Commit by patthoyts (branch: core-8-5-branch):
[Bug 3294593] fix menu unposting under some conditions.
Moving the pointer off a cascaded submenu over the application window and
then back to the parent menu window on a non-cascade entry would leave the
submenu displayed when it should be unposted. This patch solves this issue.
Suggested-by: Schelte Bron <sbron@...>
Signed-off-by: Pat Thoyts <patthoyts@...>