From: Karl Heuer Date: Fri, 24 Oct 1997 19:58:22 +0000 (+0000) Subject: (w32_mouse_position): Handle INSIST < 0. X-Git-Tag: emacs-20.3~2894 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95fa970dd693e610937d282d2777b9ab453dfb45;p=emacs.git (w32_mouse_position): Handle INSIST < 0. --- diff --git a/src/w32term.c b/src/w32term.c index a433abc6bb4..053c148bc3e 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -1748,7 +1748,7 @@ w32_mouse_position (fp, insist, bar_window, part, x, y, time) BLOCK_INPUT; - if (! NILP (last_mouse_scroll_bar)) + if (! NILP (last_mouse_scroll_bar) && insist == 0) /* This is never called at the moment. */ x_scroll_bar_report_motion (fp, bar_window, part, x, y, time); else @@ -1790,7 +1790,7 @@ w32_mouse_position (fp, insist, bar_window, part, x, y, time) } } - if (f1 == 0 && insist) + if (f1 == 0 && insist > 0) f1 = selected_frame; if (f1)