diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-01-16 15:02:48 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-01-16 15:02:48 +0200 |
commit | c55b7b8e1f46612849a25f035578a46fa3fe343b (patch) | |
tree | 4a4a8af6b5ad8b4a69685341d37d49e4199e4224 /src/frame.c | |
parent | ba29d13f41b777969a324894ba82646d36e1ff5c (diff) | |
download | emacs-c55b7b8e1f46612849a25f035578a46fa3fe343b.tar.gz emacs-c55b7b8e1f46612849a25f035578a46fa3fe343b.tar.bz2 emacs-c55b7b8e1f46612849a25f035578a46fa3fe343b.zip |
Fix last change
* src/frame.c (Fset_mouse_position, Fset_mouse_pixel_position):
Don't compile the FRAME_MSDOS_P case on platforms other than
MSDOS, as that will never happen there.
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frame.c b/src/frame.c index 4d3d05ebbd3..599c4075f88 100644 --- a/src/frame.c +++ b/src/frame.c @@ -2579,13 +2579,13 @@ before calling this function on it, like this. frame_set_mouse_position (XFRAME (frame), xval, yval); #endif /* HAVE_WINDOW_SYSTEM */ } +#ifdef MSDOS else if (FRAME_MSDOS_P (XFRAME (frame))) { Fselect_frame (frame, Qnil); -#ifdef MSDOS mouse_moveto (xval, yval); -#endif /* MSDOS */ } +#endif /* MSDOS */ else { Fselect_frame (frame, Qnil); @@ -2624,13 +2624,13 @@ before calling this function on it, like this. frame_set_mouse_pixel_position (XFRAME (frame), xval, yval); #endif /* HAVE_WINDOW_SYSTEM */ } +#ifdef MSDOS else if (FRAME_MSDOS_P (XFRAME (frame))) { Fselect_frame (frame, Qnil); -#ifdef MSDOS mouse_moveto (xval, yval); -#endif /* MSDOS */ } +#endif /* MSDOS */ else { Fselect_frame (frame, Qnil); |