1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-12 16:47:42 -05:00

Jacob's patch to cause Shift to return to copy-and-paste when xterm

mouse tracking is enabled. (This can be turned off if your app
really wants Shift+mouse, but it defaults to on for general
usefulness.)

[originally from svn r1235]
This commit is contained in:
Simon Tatham
2001-09-07 20:35:38 +00:00
parent fdb6435ef9
commit 5fad95e748
5 changed files with 16 additions and 3 deletions

View File

@ -1129,7 +1129,8 @@ static void click(Mouse_Button b, int x, int y, int shift, int ctrl)
{
int thistime = GetMessageTime();
if (send_raw_mouse) {
if (send_raw_mouse && !(cfg.mouse_override && shift)) {
lastbtn = MBT_NOTHING;
term_mouse(b, MA_CLICK, x, y, shift, ctrl);
return;
}