winemine: Fix WM_MOUSEMOVE for left and right mouse buttons pressed.

oldstable
Austin Lund 2009-11-27 19:51:44 +10:00 committed by Alexandre Julliard
parent bc95ef3cbc
commit 56a57f0c9e
1 changed files with 2 additions and 1 deletions

View File

@ -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 ) {