aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2005-09-27 21:14:23 +0000
committerDan Nicolaescu2005-09-27 21:14:23 +0000
commit6c4eb4ce002d7d75d2b5de9a96a5873656f2bf16 (patch)
tree62dab3b35db4d2bd582070f57004d0548e712039
parentb95097127197d63084c14fd6d8322f724e041776 (diff)
downloademacs-6c4eb4ce002d7d75d2b5de9a96a5873656f2bf16.tar.gz
emacs-6c4eb4ce002d7d75d2b5de9a96a5873656f2bf16.zip
(handle_one_xevent): Refer to union field to match the type
required by the function definition.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xterm.c4
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 }