changeset 20180:bfbf6a2939a3

(XTmouse_position): Handle INSIST < 0.
author Karl Heuer <kwzh@gnu.org>
date Fri, 24 Oct 1997 19:58:39 +0000
parents b4fe0e8ac819
children fe0f0a9bb43f
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Oct 24 19:58:22 1997 +0000
+++ b/src/xterm.c	Fri Oct 24 19:58:39 1997 +0000
@@ -2743,7 +2743,7 @@
 
   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 @@
 	      }
 	  }
 
-	if (f1 == 0 && insist)
+	if (f1 == 0 && insist > 0)
 	  f1 = selected_frame;
 
 	if (f1)