Vitaliy Margolen : user32: Don' t exit when double-clicking with right button held.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 11 07:28:41 CDT 2007


Module: wine
Branch: master
Commit: 2d572ec3948e7fcf4f53c7b55fc47dda982b158f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2d572ec3948e7fcf4f53c7b55fc47dda982b158f

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Thu Sep  6 21:18:42 2007 -0600

user32: Don't exit when double-clicking with right button held.

---

 dlls/user32/defwnd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/defwnd.c b/dlls/user32/defwnd.c
index 6f97880..2bde5ad 100644
--- a/dlls/user32/defwnd.c
+++ b/dlls/user32/defwnd.c
@@ -325,6 +325,8 @@ static LRESULT DEFWND_DefWinProc( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa
         return NC_HandleNCLButtonDown( hwnd, wParam, lParam );
 
     case WM_LBUTTONDBLCLK:
+        return NC_HandleNCLButtonDblClk( hwnd, HTCLIENT, lParam );
+
     case WM_NCLBUTTONDBLCLK:
         return NC_HandleNCLButtonDblClk( hwnd, wParam, lParam );
 




More information about the wine-cvs mailing list