diff options
author | Karl Heuer <[email protected]> | 1997-10-24 19:58:39 +0000 |
---|---|---|
committer | Karl Heuer <[email protected]> | 1997-10-24 19:58:39 +0000 |
commit | 8bcee03ecf51ab4b88f00c6252b97833594ab3af (patch) | |
tree | 7d74d75178d1231939ce86535f4a8180e2e7c65b /src/xterm.c | |
parent | 95fa970dd693e610937d282d2777b9ab453dfb45 (diff) |
(XTmouse_position): Handle INSIST < 0.
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 3a13f896ff..dce34e8903 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2743,7 +2743,7 @@ XTmouse_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) x_scroll_bar_report_motion (fp, bar_window, part, x, y, time); else { @@ -2872,7 +2872,7 @@ XTmouse_position (fp, insist, bar_window, part, x, y, time) } } - if (f1 == 0 && insist) + if (f1 == 0 && insist > 0) f1 = selected_frame; if (f1) |