# HG changeset patch # User Dan Nicolaescu # Date 1127855663 0 # Node ID b7f75775728840599383b041d8ca2d8b4d76eee6 # Parent 292616bda412f2661b27ec3f25d073f29218ae06 (handle_one_xevent): Refer to union field to match the type required by the function definition. diff -r 292616bda412 -r b7f757757288 src/ChangeLog --- a/src/ChangeLog Tue Sep 27 20:18:49 2005 +0000 +++ b/src/ChangeLog Tue Sep 27 21:14:23 2005 +0000 @@ -11,6 +11,8 @@ * systime.h (get_operating_system_release): ... here. * xterm.c (set_vertical_scroll_bar): Move prototype ... + (handle_one_xevent): Refer to union field to match the type + required by the function definition. * xterm.h: ... here. diff -r 292616bda412 -r b7f757757288 src/xterm.c --- a/src/xterm.c Tue Sep 27 20:18:49 2005 +0000 +++ b/src/xterm.c Tue Sep 27 21:14:23 2005 +0000 @@ -6750,13 +6750,13 @@ && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0) { ignore_next_mouse_click_timeout = 0; - construct_mouse_click (&inev.ie, &event, f); + construct_mouse_click (&inev.ie, &event.xbutton, f); } if (event.type == ButtonRelease) ignore_next_mouse_click_timeout = 0; } else - construct_mouse_click (&inev.ie, &event, f); + construct_mouse_click (&inev.ie, &event.xbutton, f); } } }