diff options
| author | Andreas Schwab | 1998-04-14 13:00:00 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-14 13:00:00 +0000 |
| commit | d4d76014dc0aedaa6d2c3fe1fee41fa54f5cde58 (patch) | |
| tree | 6dc0515004134af1af609309b666cfecefa76be4 /src/frame.c | |
| parent | 21ab867fb9a2c4bbcb31f62203f9b81f4e0213a9 (diff) | |
| download | emacs-d4d76014dc0aedaa6d2c3fe1fee41fa54f5cde58.tar.gz emacs-d4d76014dc0aedaa6d2c3fe1fee41fa54f5cde58.zip | |
(Fset_mouse_position, Fset_mouse_pixel_position): Fix
mixing of Lisp_Object and int.
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 4 |
1 files changed, 2 insertions, 2 deletions
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\ | |||
| 1376 | #ifdef HAVE_WINDOW_SYSTEM | 1376 | #ifdef HAVE_WINDOW_SYSTEM |
| 1377 | if (FRAME_WINDOW_P (XFRAME (frame))) | 1377 | if (FRAME_WINDOW_P (XFRAME (frame))) |
| 1378 | /* Warping the mouse will cause enternotify and focus events. */ | 1378 | /* Warping the mouse will cause enternotify and focus events. */ |
| 1379 | x_set_mouse_position (XFRAME (frame), x, y); | 1379 | x_set_mouse_position (XFRAME (frame), XINT (x), XINT (y)); |
| 1380 | #else | 1380 | #else |
| 1381 | #if defined (MSDOS) && defined (HAVE_MOUSE) | 1381 | #if defined (MSDOS) && defined (HAVE_MOUSE) |
| 1382 | if (FRAME_MSDOS_P (XFRAME (frame))) | 1382 | if (FRAME_MSDOS_P (XFRAME (frame))) |
| @@ -1408,7 +1408,7 @@ before calling this function on it, like this.\n\ | |||
| 1408 | #ifdef HAVE_WINDOW_SYSTEM | 1408 | #ifdef HAVE_WINDOW_SYSTEM |
| 1409 | if (FRAME_WINDOW_P (XFRAME (frame))) | 1409 | if (FRAME_WINDOW_P (XFRAME (frame))) |
| 1410 | /* Warping the mouse will cause enternotify and focus events. */ | 1410 | /* Warping the mouse will cause enternotify and focus events. */ |
| 1411 | x_set_mouse_pixel_position (XFRAME (frame), x, y); | 1411 | x_set_mouse_pixel_position (XFRAME (frame), XINT (x), XINT (y)); |
| 1412 | #else | 1412 | #else |
| 1413 | #if defined (MSDOS) && defined (HAVE_MOUSE) | 1413 | #if defined (MSDOS) && defined (HAVE_MOUSE) |
| 1414 | if (FRAME_MSDOS_P (XFRAME (frame))) | 1414 | if (FRAME_MSDOS_P (XFRAME (frame))) |