(handle_one_xevent): Refer to union field to match the type
required by the function definition.
This commit is contained in:
parent
b950971271
commit
6c4eb4ce00
2 changed files with 4 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue