# HG changeset patch # User Micha¸«³l Cadilhac # Date 1190196133 0 # Node ID 4236d6c017130e1d43fe889190ba72513df5d4b8 # Parent 630c599116d6088224441b6052755f9581d376f6 (handle_one_xevent): Fix a C warning. diff -r 630c599116d6 -r 4236d6c01713 src/xterm.c --- 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;