From: Vincent Povirk Subject: [2/5] user32: Always send WM_CAPTURECHANGED in menu mode. Message-Id: Date: Tue, 24 Jun 2014 14:52:47 -0500 From 86b5c9342f9cecd8555b576ee3b90c4812629325 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Tue, 25 Mar 2014 15:54:48 -0500 Subject: [PATCH 2/5] user32: Always send WM_CAPTURECHANGED in menu mode. --- dlls/user32/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/input.c b/dlls/user32/input.c index 457e67c..e9f6a7b 100644 --- a/dlls/user32/input.c +++ b/dlls/user32/input.c @@ -107,7 +107,7 @@ BOOL set_capture_window( HWND hwnd, UINT gui_flags, HWND *prev_ret ) { USER_Driver->pSetCapture( hwnd, gui_flags ); - if (previous && previous != hwnd) + if (previous && (previous != hwnd || (gui_flags & GUI_INMENUMODE) == GUI_INMENUMODE)) SendMessageW( previous, WM_CAPTURECHANGED, 0, (LPARAM)hwnd ); if (prev_ret) *prev_ret = previous; -- 1.8.3.2