From 56a57f0c9e3818c2d0a1afe74fcfa4bba9f3fee5 Mon Sep 17 00:00:00 2001 From: Austin Lund Date: Fri, 27 Nov 2009 19:51:44 +1000 Subject: [PATCH] winemine: Fix WM_MOUSEMOVE for left and right mouse buttons pressed. --- programs/winemine/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/winemine/main.c b/programs/winemine/main.c index d5c9d040f01..be544e8f9ce 100644 --- a/programs/winemine/main.c +++ b/programs/winemine/main.c @@ -928,7 +928,8 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara case WM_MOUSEMOVE: { - if( wParam & MK_MBUTTON ) { + if( ( wParam & MK_MBUTTON ) || + ( ( wParam & MK_LBUTTON ) && ( wParam & MK_RBUTTON ) ) ) { msg = WM_MBUTTONDOWN; } else if( wParam & MK_LBUTTON ) { -- 2.11.4.GIT