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.
This commit is contained in:
parent
ba29d13f41
commit
c55b7b8e1f
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue