summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-05-30 05:21:19 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-05-30 05:21:19 +0000
commit4d1d51d27979188516174761ac1c3bb6c691f940 (patch)
tree86bc4fc1256c644fc194d6e98897d8891e07f816 /src/frame.c
parent94da14a02dab82212794e779c2c601f001f116fa (diff)
downloademacs-4d1d51d27979188516174761ac1c3bb6c691f940.tar.gz
(Fset_mouse_pixel_position): Add call to
term_mouse_moveto.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 5990b9e0717..ab91af264dc 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1539,6 +1539,13 @@ before calling this function on it, like this.
Fselect_frame (frame);
mouse_moveto (XINT (x), XINT (y));
}
+#else
+#ifdef HAVE_GPM
+ {
+ Fselect_frame (frame);
+ term_mouse_moveto (XINT (x), XINT (y));
+ }
+#endif
#endif
#endif