diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index caa9cefe376..51af064232b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -11,6 +11,8 @@ | |||
| 11 | * systime.h (get_operating_system_release): ... here. | 11 | * systime.h (get_operating_system_release): ... here. |
| 12 | 12 | ||
| 13 | * xterm.c (set_vertical_scroll_bar): Move prototype ... | 13 | * xterm.c (set_vertical_scroll_bar): Move prototype ... |
| 14 | (handle_one_xevent): Refer to union field to match the type | ||
| 15 | required by the function definition. | ||
| 14 | 16 | ||
| 15 | * xterm.h: ... here. | 17 | * xterm.h: ... here. |
| 16 | 18 | ||
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) | |||
| 6750 | && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0) | 6750 | && (int)(event.xbutton.time - ignore_next_mouse_click_timeout) > 0) |
| 6751 | { | 6751 | { |
| 6752 | ignore_next_mouse_click_timeout = 0; | 6752 | ignore_next_mouse_click_timeout = 0; |
| 6753 | construct_mouse_click (&inev.ie, &event, f); | 6753 | construct_mouse_click (&inev.ie, &event.xbutton, f); |
| 6754 | } | 6754 | } |
| 6755 | if (event.type == ButtonRelease) | 6755 | if (event.type == ButtonRelease) |
| 6756 | ignore_next_mouse_click_timeout = 0; | 6756 | ignore_next_mouse_click_timeout = 0; |
| 6757 | } | 6757 | } |
| 6758 | else | 6758 | else |
| 6759 | construct_mouse_click (&inev.ie, &event, f); | 6759 | construct_mouse_click (&inev.ie, &event.xbutton, f); |
| 6760 | } | 6760 | } |
| 6761 | } | 6761 | } |
| 6762 | } | 6762 | } |