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:
parent
bd241d7dfc
commit
b84caf5446
2
window.c
2
window.c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user