user32: A second button-up on the system menu should end the tracking.
This isn't quite how Windows behaves. Windows doesn't follow the
tracking between the menu-bar and the system menu, while Wine does.
Since the system menu of top-level windows is likely to be hidden by
Wine's graphics driver, this seems like useful behaviour to keep and
thus this patch makes things behave sensibly.
Even without Wine's special tracking behaviour, this patch is an
improvement. The tracking state has no reason to be stored in the
menu structure.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>