diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-03-15 21:55:37 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-03-15 21:55:37 +0000 |
commit | ec3e92236358aa06c18059e78cc7127b309e3bfc (patch) | |
tree | 1db13dcd2c2eae5cf60e50f3c6f04c60b8e19e50 | |
parent | 6ffb8d3e6f0376821f048f41eaaaf39fbae47f62 (diff) | |
download | emacs-ec3e92236358aa06c18059e78cc7127b309e3bfc.tar.gz |
(Fmouse_position): Do work only if HAVE_MOUSE.
-rw-r--r-- | src/frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 3dc70c4d30c..f0e146cd361 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1055,6 +1055,7 @@ and nil for X and Y.") 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 @@ and nil for X and Y.") XSETINT (x, col); XSETINT (y, row); } +#endif XSETFRAME (lispy_dummy, f); return Fcons (lispy_dummy, Fcons (x, y)); } |