Mercurial > emacs
comparison src/xterm.c @ 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 | ad24f42046b1 |
children | 375ab086d366 b1c1fc853d2f |
comparison
equal
deleted
inserted
replaced
65715:292616bda412 | 65716:b7f757757288 |
---|---|
6748 { | 6748 { |
6749 if (event.type == ButtonPress | 6749 if (event.type == ButtonPress |
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 } |
6763 else | 6763 else |
6764 { | 6764 { |