aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1997-10-24 19:58:39 +0000
committerKarl Heuer1997-10-24 19:58:39 +0000
commit8bcee03ecf51ab4b88f00c6252b97833594ab3af (patch)
tree7d74d75178d1231939ce86535f4a8180e2e7c65b /src
parent95fa970dd693e610937d282d2777b9ab453dfb45 (diff)
downloademacs-8bcee03ecf51ab4b88f00c6252b97833594ab3af.tar.gz
emacs-8bcee03ecf51ab4b88f00c6252b97833594ab3af.zip
(XTmouse_position): Handle INSIST < 0.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 3a13f896ff6..dce34e89031 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2743,7 +2743,7 @@ XTmouse_position (fp, insist, bar_window, part, x, y, time)
2743 2743
2744 BLOCK_INPUT; 2744 BLOCK_INPUT;
2745 2745
2746 if (! NILP (last_mouse_scroll_bar)) 2746 if (! NILP (last_mouse_scroll_bar) && insist == 0)
2747 x_scroll_bar_report_motion (fp, bar_window, part, x, y, time); 2747 x_scroll_bar_report_motion (fp, bar_window, part, x, y, time);
2748 else 2748 else
2749 { 2749 {
@@ -2872,7 +2872,7 @@ XTmouse_position (fp, insist, bar_window, part, x, y, time)
2872 } 2872 }
2873 } 2873 }
2874 2874
2875 if (f1 == 0 && insist) 2875 if (f1 == 0 && insist > 0)
2876 f1 = selected_frame; 2876 f1 = selected_frame;
2877 2877
2878 if (f1) 2878 if (f1)