From: Andreas Schwab Date: Tue, 14 Apr 1998 13:00:00 +0000 (+0000) Subject: (Fset_mouse_position, Fset_mouse_pixel_position): Fix X-Git-Tag: emacs-20.3~1551 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4d76014dc0aedaa6d2c3fe1fee41fa54f5cde58;p=emacs.git (Fset_mouse_position, Fset_mouse_pixel_position): Fix mixing of Lisp_Object and int. --- diff --git a/src/frame.c b/src/frame.c index 8ede3ac97ea..cb597b0c614 100644 --- a/src/frame.c +++ b/src/frame.c @@ -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)))