Dylan Smith : winemine: Middle click drag should move the box highlighting.
Alexandre Julliard
julliard at winehq.org
Wed Jun 25 04:47:20 CDT 2008
Module: wine
Branch: master
Commit: 273080af7d881fa0d1d965e4814c358384031725
URL: http://source.winehq.org/git/wine.git/?a=commit;h=273080af7d881fa0d1d965e4814c358384031725
Author: Dylan Smith <dylan.ah.smith at 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 ) {
More information about the wine-cvs
mailing list