Commit 56a57f0c authored by Austin Lund's avatar Austin Lund Committed by Alexandre Julliard

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

parent bc95ef3c
...@@ -928,7 +928,8 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara ...@@ -928,7 +928,8 @@ static LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara
case WM_MOUSEMOVE: case WM_MOUSEMOVE:
{ {
if( wParam & MK_MBUTTON ) { if( ( wParam & MK_MBUTTON ) ||
( ( wParam & MK_LBUTTON ) && ( wParam & MK_RBUTTON ) ) ) {
msg = WM_MBUTTONDOWN; msg = WM_MBUTTONDOWN;
} }
else if( wParam & MK_LBUTTON ) { else if( wParam & MK_LBUTTON ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment