comparison src/emacs.c @ 30036:22cde023296d

(handle_USR1_signal, handle_USR2_signal) Clear input_event with bzero. (main): Call init_window.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 04 Jul 2000 18:57:38 +0000
parents f93f1d35850a
children baf1c4a71548
comparison
equal deleted inserted replaced
30035:cfe75bd98a52 30036:22cde023296d
292 handle_USR1_signal (sig) 292 handle_USR1_signal (sig)
293 int sig; 293 int sig;
294 { 294 {
295 struct input_event buf; 295 struct input_event buf;
296 296
297 bzero (&buf, sizeof buf);
297 buf.kind = user_signal; 298 buf.kind = user_signal;
298 buf.code = 0;
299 buf.frame_or_window = selected_frame; 299 buf.frame_or_window = selected_frame;
300 buf.modifiers = 0;
301 buf.timestamp = 0;
302 300
303 kbd_buffer_store_event (&buf); 301 kbd_buffer_store_event (&buf);
304 } 302 }
305 #endif /* SIGUSR1 */ 303 #endif /* SIGUSR1 */
306 304
309 handle_USR2_signal (sig) 307 handle_USR2_signal (sig)
310 int sig; 308 int sig;
311 { 309 {
312 struct input_event buf; 310 struct input_event buf;
313 311
312 bzero (&buf, sizeof buf);
314 buf.kind = user_signal; 313 buf.kind = user_signal;
315 buf.code = 1; 314 buf.code = 1;
316 buf.frame_or_window = selected_frame; 315 buf.frame_or_window = selected_frame;
317 buf.modifiers = 0;
318 buf.timestamp = 0;
319 316
320 kbd_buffer_store_event (&buf); 317 kbd_buffer_store_event (&buf);
321 } 318 }
322 #endif /* SIGUSR2 */ 319 #endif /* SIGUSR2 */
323 320
1427 #endif /* VMS */ 1424 #endif /* VMS */
1428 init_process (); 1425 init_process ();
1429 #ifdef HAVE_SOUND 1426 #ifdef HAVE_SOUND
1430 init_sound (); 1427 init_sound ();
1431 #endif 1428 #endif
1429 init_window ();
1432 1430
1433 if (!initialized) 1431 if (!initialized)
1434 { 1432 {
1435 char *file; 1433 char *file;
1436 /* Handle -l loadup, args passed by Makefile. */ 1434 /* Handle -l loadup, args passed by Makefile. */