mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-11 14:01:43 -08:00
(Fset_mouse_position, Fset_mouse_pixel_position): Fix
mixing of Lisp_Object and int.
This commit is contained in:
parent
21ab867fb9
commit
d4d76014dc
1 changed files with 2 additions and 2 deletions
|
|
@ -1376,7 +1376,7 @@ before calling this function on it, like this.\n\
|
|||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
if (FRAME_WINDOW_P (XFRAME (frame)))
|
||||
/* Warping the mouse will cause enternotify and focus events. */
|
||||
x_set_mouse_position (XFRAME (frame), x, y);
|
||||
x_set_mouse_position (XFRAME (frame), XINT (x), XINT (y));
|
||||
#else
|
||||
#if defined (MSDOS) && defined (HAVE_MOUSE)
|
||||
if (FRAME_MSDOS_P (XFRAME (frame)))
|
||||
|
|
@ -1408,7 +1408,7 @@ before calling this function on it, like this.\n\
|
|||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
if (FRAME_WINDOW_P (XFRAME (frame)))
|
||||
/* Warping the mouse will cause enternotify and focus events. */
|
||||
x_set_mouse_pixel_position (XFRAME (frame), x, y);
|
||||
x_set_mouse_pixel_position (XFRAME (frame), XINT (x), XINT (y));
|
||||
#else
|
||||
#if defined (MSDOS) && defined (HAVE_MOUSE)
|
||||
if (FRAME_MSDOS_P (XFRAME (frame)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue