projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put that ReleaseCapture call just _before_ return, not after!
[u/mdw/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
0d2ddb6
..
3eaa033
100644
(file)
--- a/
window.c
+++ b/
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,