From: Michaƫl Cadilhac Date: Wed, 19 Sep 2007 10:02:13 +0000 (+0000) Subject: (handle_one_xevent): Fix a C warning. X-Git-Tag: emacs-pretest-23.0.90~10841 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44342f4b79c25418b9ca4dd4196353db7b825750;p=emacs.git (handle_one_xevent): Fix a C warning. --- diff --git a/src/xterm.c b/src/xterm.c index fcf5e0b2193..68f5b266810 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6641,7 +6641,7 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) /* 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 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) #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;