[PATCH 1/5] user32: Allow button-down events on the system menu to continue tracking.
Huw Davies
huw at codeweavers.com
Mon Jun 5 07:05:11 CDT 2017
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
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;
--
2.7.4
More information about the wine-patches
mailing list