From 44342f4b79c25418b9ca4dd4196353db7b825750 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C3=ABl=20Cadilhac?= Date: Wed, 19 Sep 2007 10:02:13 +0000 Subject: [PATCH] (handle_one_xevent): Fix a C warning. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5