From: Dan Nicolaescu Date: Tue, 27 Sep 2005 21:14:23 +0000 (+0000) Subject: (handle_one_xevent): Refer to union field to match the type X-Git-Tag: emacs-pretest-22.0.90~6927 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c4eb4ce002d7d75d2b5de9a96a5873656f2bf16;p=emacs.git (handle_one_xevent): Refer to union field to match the type required by the function definition. --- diff --git a/src/ChangeLog b/src/ChangeLog index caa9cefe376..51af064232b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 --git a/src/xterm.c b/src/xterm.c index f02aef0bc5a..5bd38550f67 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6750,13 +6750,13 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) && (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); } } }