Mercurial > emacs
changeset 20179:b4fe0e8ac819
(w32_mouse_position): Handle INSIST < 0.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 24 Oct 1997 19:58:22 +0000 |
parents | fb9facb8fda0 |
children | bfbf6a2939a3 |
files | src/w32term.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Fri Oct 24 19:57:59 1997 +0000 +++ b/src/w32term.c Fri Oct 24 19:58:22 1997 +0000 @@ -1748,7 +1748,7 @@ 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 @@ } } - if (f1 == 0 && insist) + if (f1 == 0 && insist > 0) f1 = selected_frame; if (f1)