1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Put that ReleaseCapture call just _before_ return, not after!

[originally from svn r172]
This commit is contained in:
Simon Tatham 1999-07-05 16:35:34 +00:00
parent bd241d7dfc
commit b84caf5446

View File

@ -727,8 +727,8 @@ static int WINAPI WndProc (HWND hwnd, UINT message,
term_mouse (cfg.mouse_is_xterm ? MB_PASTE : MB_EXTEND,
MA_RELEASE, TO_CHR_X(X_POS(lParam)),
TO_CHR_Y(Y_POS(lParam)));
return 0;
ReleaseCapture();
return 0;
case WM_RBUTTONDOWN:
SetCapture(hwnd);
click (cfg.mouse_is_xterm ? MB_EXTEND : MB_PASTE,