From d68efe28cf574626264353aed2161f75e1d3ae46 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 2 Oct 2012 19:31:33 +0000 Subject: [PATCH] Sumudu Fernando points out that in the big r9214 destabilisation I mistakenly rearranged the logic in an if statement in window.c, with the effect that scroll-wheel events are no longer sent via xterm mouse tracking. Put it back to the way it was. git-svn-id: svn://svn.tartarus.org/sgt/putty@9679 cda61777-01e9-0310-a592-d414129be87e --- windows/window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/windows/window.c b/windows/window.c index 5fe21787..85b4699d 100644 --- a/windows/window.c +++ b/windows/window.c @@ -3221,8 +3221,9 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, } else break; - if (send_raw_mouse && shift_pressed && - !(conf_get_int(conf, CONF_mouse_override))) { + if (send_raw_mouse && + !(conf_get_int(conf, CONF_mouse_override) && + shift_pressed)) { /* Mouse wheel position is in screen coordinates for * some reason */ POINT p; -- 2.11.0