# HG changeset patch # User Karl Heuer # Date 795304537 0 # Node ID 6c5aef697fbef4f6b06b217ef0dcf573f90f641c # Parent 636d0fa5a9200a8c230cd8aa4e01a0dfe499710c (Fmouse_position): Do work only if HAVE_MOUSE. diff -r 636d0fa5a920 -r 6c5aef697fbe src/frame.c --- a/src/frame.c Wed Mar 15 21:53:53 1995 +0000 +++ b/src/frame.c Wed Mar 15 21:55:37 1995 +0000 @@ -1055,6 +1055,7 @@ 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, @@ -1069,6 +1070,7 @@ XSETINT (x, col); XSETINT (y, row); } +#endif XSETFRAME (lispy_dummy, f); return Fcons (lispy_dummy, Fcons (x, y)); }