Mercurial > emacs
changeset 65716:b7f757757288
(handle_one_xevent): Refer to union field to match the type
required by the function definition.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Tue, 27 Sep 2005 21:14:23 +0000 |
parents | 292616bda412 |
children | 27e3e349108d |
files | src/ChangeLog src/xterm.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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); } } }