aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichaël Cadilhac2007-09-19 10:02:13 +0000
committerMichaël Cadilhac2007-09-19 10:02:13 +0000
commit44342f4b79c25418b9ca4dd4196353db7b825750 (patch)
tree0c0c88386ced50e8662dd1b1b34869d0670ba123 /src
parentb87474fca5e91aa2c6dd329ef99d1149b048df1e (diff)
downloademacs-44342f4b79c25418b9ca4dd4196353db7b825750.tar.gz
emacs-44342f4b79c25418b9ca4dd4196353db7b825750.zip
(handle_one_xevent): Fix a C warning.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c4
1 files 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)
6641 /* We may get an EnterNotify on the buttons in the toolbar. In that 6641 /* We may get an EnterNotify on the buttons in the toolbar. In that
6642 case we moved out of any highlighted area and need to note this. */ 6642 case we moved out of any highlighted area and need to note this. */
6643 if (!f && last_mouse_glyph_frame) 6643 if (!f && last_mouse_glyph_frame)
6644 note_mouse_movement (last_mouse_glyph_frame, &event); 6644 note_mouse_movement (last_mouse_glyph_frame, &event.xmotion);
6645#endif 6645#endif
6646 goto OTHER; 6646 goto OTHER;
6647 6647
@@ -6674,7 +6674,7 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit)
6674#ifdef USE_GTK 6674#ifdef USE_GTK
6675 /* See comment in EnterNotify above */ 6675 /* See comment in EnterNotify above */
6676 else if (last_mouse_glyph_frame) 6676 else if (last_mouse_glyph_frame)
6677 note_mouse_movement (last_mouse_glyph_frame, &event); 6677 note_mouse_movement (last_mouse_glyph_frame, &event.xmotion);
6678#endif 6678#endif
6679 goto OTHER; 6679 goto OTHER;
6680 6680