X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/8dad1c49bab966ff0e1878c4508d0eeef68a9d62..d68efe28cf574626264353aed2161f75e1d3ae46:/windows/window.c 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;