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;
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;
{
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;
}
}