changeset 20178:fb9facb8fda0

(Fmouse_pixel_position, Fmouse_position): Pass -1 as INSIST arg to mouse_position_hook.
author Karl Heuer <kwzh@gnu.org>
date Fri, 24 Oct 1997 19:57:59 +0000
parents 6ebc3e300106
children b4fe0e8ac819
files src/frame.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Fri Oct 24 19:53:43 1997 +0000
+++ b/src/frame.c	Fri Oct 24 19:57:59 1997 +0000
@@ -1303,7 +1303,7 @@
 #ifdef HAVE_MOUSE
   /* It's okay for the hook to refrain from storing anything.  */
   if (mouse_position_hook)
-    (*mouse_position_hook) (&f, 0,
+    (*mouse_position_hook) (&f, -1,
 			    &lispy_dummy, &party_dummy,
 			    &x, &y,
 			    &long_dummy);
@@ -1343,7 +1343,7 @@
 #ifdef HAVE_MOUSE
   /* It's okay for the hook to refrain from storing anything.  */
   if (mouse_position_hook)
-    (*mouse_position_hook) (&f, 0,
+    (*mouse_position_hook) (&f, -1,
 			    &lispy_dummy, &party_dummy,
 			    &x, &y,
 			    &long_dummy);