user32: Allow button-down events on the system menu to continue tracking.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2017-06-05 13:05:11 +01:00 committed by Alexandre Julliard
parent 17b7cde00e
commit 77026e244c
1 changed files with 1 additions and 1 deletions

View File

@ -2583,7 +2583,7 @@ static BOOL MENU_ButtonDown( MTRACKER* pmt, HMENU hPtMenu, UINT wFlags )
{
UINT pos;
POPUPMENU *ptmenu = MENU_GetMenu( hPtMenu );
enum hittest ht = ht_nowhere;
enum hittest ht = ht_item;
if( IS_SYSTEM_MENU(ptmenu) )
pos = 0;