Mercurial > emacs
changeset 11126:786f1c82a38e
(Fmouse_position--both definitions): Pass 0 for `insist'.
(Fmouse_pixel_position): Pass 0 for `insist'.
Add HAVE_MOUSE conditional.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 26 Mar 1995 21:13:40 +0000 |
parents | dc78213dd2b3 |
children | 53e4f014e31c |
files | src/frame.c |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);