Module: wine Branch: master Commit: 273080af7d881fa0d1d965e4814c358384031725 URL: http://source.winehq.org/git/wine.git/?a=commit;h=273080af7d881fa0d1d965e481...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Tue Jun 24 14:09:46 2008 -0400
winemine: Middle click drag should move the box highlighting.
The correct behaviour was intended, but the wrong check was made for wParam on the WM_MOUSEMOVE event.
---
programs/winemine/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winemine/main.c b/programs/winemine/main.c index 2d17536..6c90519 100644 --- a/programs/winemine/main.c +++ b/programs/winemine/main.c @@ -176,7 +176,7 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_MOUSEMOVE: { - if( (wParam & MK_LBUTTON) && (wParam & MK_RBUTTON) ) { + if( wParam & MK_MBUTTON ) { msg = WM_MBUTTONDOWN; } else if( wParam & MK_LBUTTON ) {