input_event with bzero.
(main): Call init_window.
{
struct input_event buf;
+ bzero (&buf, sizeof buf);
buf.kind = user_signal;
- buf.code = 0;
buf.frame_or_window = selected_frame;
- buf.modifiers = 0;
- buf.timestamp = 0;
kbd_buffer_store_event (&buf);
}
{
struct input_event buf;
+ bzero (&buf, sizeof buf);
buf.kind = user_signal;
buf.code = 1;
buf.frame_or_window = selected_frame;
- buf.modifiers = 0;
- buf.timestamp = 0;
kbd_buffer_store_event (&buf);
}
#ifdef HAVE_SOUND
init_sound ();
#endif
+ init_window ();
if (!initialized)
{