aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-07-13 14:08:18 +0000
committerGerd Moellmann2000-07-13 14:08:18 +0000
commitc8b33aa655a34ef6123c0d833aea3e63bf096956 (patch)
tree3d720bfdc0c9290c1025e51f9f57b074c5b9c782 /src/w32term.c
parent205012787b94d9ea2e945afffa38d616f37d9ae2 (diff)
downloademacs-c8b33aa655a34ef6123c0d833aea3e63bf096956.tar.gz
emacs-c8b33aa655a34ef6123c0d833aea3e63bf096956.zip
(w32_handle_tool_bar_click): Adapt to changes in
TOOL_BAR_EVENTs. (w32_read_socket): Adapt to changes in HELP_EVENTs.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 3a8cfb8bba6..dec34ebfa6e 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -6205,11 +6205,13 @@ w32_handle_tool_bar_click (f, button_event)
6205 6205
6206 XSETFRAME (frame, f); 6206 XSETFRAME (frame, f);
6207 event.kind = TOOL_BAR_EVENT; 6207 event.kind = TOOL_BAR_EVENT;
6208 event.frame_or_window = Fcons (frame, Fcons (Qtool_bar, Qnil)); 6208 event.frame_or_window = frame;
6209 event.arg = frame;
6209 kbd_buffer_store_event (&event); 6210 kbd_buffer_store_event (&event);
6210 6211
6211 event.kind = TOOL_BAR_EVENT; 6212 event.kind = TOOL_BAR_EVENT;
6212 event.frame_or_window = Fcons (frame, key); 6213 event.frame_or_window = frame;
6214 event.arg = key;
6213 event.modifiers = button_event->modifiers; 6215 event.modifiers = button_event->modifiers;
6214 kbd_buffer_store_event (&event); 6216 kbd_buffer_store_event (&event);
6215 last_tool_bar_item = -1; 6217 last_tool_bar_item = -1;
@@ -7622,7 +7624,8 @@ w32_read_socket (sd, bufp, numchars, expected)
7622 7624
7623 any_help_event_p = 1; 7625 any_help_event_p = 1;
7624 bufp->kind = HELP_EVENT; 7626 bufp->kind = HELP_EVENT;
7625 bufp->frame_or_window = Fcons (frame, help_echo); 7627 bufp->frame_or_window = frame;
7628 bufp->arg = help_echo;
7626 ++bufp, ++count, --numchars; 7629 ++bufp, ++count, --numchars;
7627 } 7630 }
7628 break; 7631 break;
@@ -7952,7 +7955,8 @@ w32_read_socket (sd, bufp, numchars, expected)
7952 { 7955 {
7953 XSETFRAME (frame, f); 7956 XSETFRAME (frame, f);
7954 bufp->kind = HELP_EVENT; 7957 bufp->kind = HELP_EVENT;
7955 bufp->frame_or_window = Fcons (frame, Qnil); 7958 bufp->frame_or_window = frame;
7959 bufp->arg = Qnil;
7956 ++bufp, ++count, --numchars; 7960 ++bufp, ++count, --numchars;
7957 } 7961 }
7958 } 7962 }