changeset 30179:9c30c64ab61d

(w32_handle_tool_bar_click): Adapt to changes in TOOL_BAR_EVENTs. (w32_read_socket): Adapt to changes in HELP_EVENTs.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 13 Jul 2000 14:08:18 +0000
parents 6d045b9631ad
children c36d4c8b21b6
files src/w32term.c
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Thu Jul 13 14:07:57 2000 +0000
+++ b/src/w32term.c	Thu Jul 13 14:08:18 2000 +0000
@@ -6205,11 +6205,13 @@
 
       XSETFRAME (frame, f);
       event.kind = TOOL_BAR_EVENT;
-      event.frame_or_window = Fcons (frame, Fcons (Qtool_bar, Qnil));
+      event.frame_or_window = frame;
+      event.arg = frame;
       kbd_buffer_store_event (&event);
 
       event.kind = TOOL_BAR_EVENT;
-      event.frame_or_window = Fcons (frame, key);
+      event.frame_or_window = frame;
+      event.arg = key;
       event.modifiers = button_event->modifiers;
       kbd_buffer_store_event (&event);
       last_tool_bar_item = -1;
@@ -7622,7 +7624,8 @@
 
               any_help_event_p = 1;
               bufp->kind = HELP_EVENT;
-              bufp->frame_or_window = Fcons (frame, help_echo);
+              bufp->frame_or_window = frame;
+              bufp->arg = help_echo;
               ++bufp, ++count, --numchars;
             }
           break;
@@ -7952,7 +7955,8 @@
                 {
                   XSETFRAME (frame, f);
                   bufp->kind = HELP_EVENT;
-                  bufp->frame_or_window = Fcons (frame, Qnil);
+                  bufp->frame_or_window = frame;
+                  bufp->arg = Qnil;
                   ++bufp, ++count, --numchars;
                 }
             }