Huw Davies : user32: Allow button-down events on the system menu to continue tracking.
Alexandre Julliard
julliard at winehq.org
Mon Jun 5 16:56:32 CDT 2017
Module: wine
Branch: master
Commit: 77026e244cb70cc3131be45c4c2fb9931b3d3a7a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=77026e244cb70cc3131be45c4c2fb9931b3d3a7a
Author: Huw Davies <huw at codeweavers.com>
Date: Mon Jun 5 13:05:11 2017 +0100
user32: Allow button-down events on the system menu to continue tracking.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/user32/menu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index a65f01e..d198ddf 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -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;
More information about the wine-cvs
mailing list