Mercurial > emacs
changeset 84645:4236d6c01713
(handle_one_xevent): Fix a C warning.
author | Michaël Cadilhac <michael.cadilhac@lrde.org> |
---|---|
date | Wed, 19 Sep 2007 10:02:13 +0000 |
parents | 630c599116d6 |
children | 922a7e3b7383 |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Wed Sep 19 07:57:47 2007 +0000 +++ b/src/xterm.c Wed Sep 19 10:02:13 2007 +0000 @@ -6641,7 +6641,7 @@ /* We may get an EnterNotify on the buttons in the toolbar. In that case we moved out of any highlighted area and need to note this. */ if (!f && last_mouse_glyph_frame) - note_mouse_movement (last_mouse_glyph_frame, &event); + note_mouse_movement (last_mouse_glyph_frame, &event.xmotion); #endif goto OTHER; @@ -6674,7 +6674,7 @@ #ifdef USE_GTK /* See comment in EnterNotify above */ else if (last_mouse_glyph_frame) - note_mouse_movement (last_mouse_glyph_frame, &event); + note_mouse_movement (last_mouse_glyph_frame, &event.xmotion); #endif goto OTHER;