# HG changeset patch # User Richard M. Stallman # Date 796252420 0 # Node ID 786f1c82a38e26f23637f9c604c2c2c1551f9e19 # Parent dc78213dd2b30eeb7a981dcdd57ce4025aae7621 (Fmouse_position--both definitions): Pass 0 for `insist'. (Fmouse_pixel_position): Pass 0 for `insist'. Add HAVE_MOUSE conditional. diff -r dc78213dd2b3 -r 786f1c82a38e src/frame.c --- a/src/frame.c Sun Mar 26 21:13:19 1995 +0000 +++ b/src/frame.c Sun Mar 26 21:13:40 1995 +0000 @@ -1058,7 +1058,7 @@ #ifdef HAVE_MOUSE /* It's okay for the hook to refrain from storing anything. */ if (mouse_position_hook) - (*mouse_position_hook) (&f, + (*mouse_position_hook) (&f, 0, &lispy_dummy, &party_dummy, &x, &y, &long_dummy); @@ -1095,12 +1095,14 @@ f = selected_frame; x = y = Qnil; +#ifdef HAVE_MOUSE /* It's okay for the hook to refrain from storing anything. */ if (mouse_position_hook) - (*mouse_position_hook) (&f, + (*mouse_position_hook) (&f, 0, &lispy_dummy, &party_dummy, &x, &y, &long_dummy); +#endif XSETFRAME (lispy_dummy, f); return Fcons (lispy_dummy, Fcons (x, y)); } @@ -2144,7 +2146,7 @@ Lisp_Object x, y; unsigned long long_dummy; - (*mouse_position_hook) (&f, + (*mouse_position_hook) (&f, 0, &lispy_dummy, &party_dummy, &x, &y, &long_dummy);