Mercurial > hg > xemacs-beta
comparison src/event-stream.c @ 392:1f50e6fe4f3f r21-2-11
Import from CVS: tag r21-2-11
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:10:50 +0200 |
parents | aabb7f5b1c81 |
children | 7d59cb494b73 |
comparison
equal
deleted
inserted
replaced
391:e50d8e68d7a5 | 392:1f50e6fe4f3f |
---|---|
5372 init_event_stream (void) | 5372 init_event_stream (void) |
5373 { | 5373 { |
5374 if (initialized) | 5374 if (initialized) |
5375 { | 5375 { |
5376 #ifdef HAVE_UNIXOID_EVENT_LOOP | 5376 #ifdef HAVE_UNIXOID_EVENT_LOOP |
5377 /* if (strcmp (display_use, "mswindows") != 0)*/ | 5377 init_event_unixoid (); |
5378 init_event_unixoid (); | |
5379 #endif | 5378 #endif |
5380 #ifdef HAVE_X_WINDOWS | 5379 #ifdef HAVE_X_WINDOWS |
5381 if (!strcmp (display_use, "x")) | 5380 if (!strcmp (display_use, "x")) |
5382 init_event_Xt_late (); | 5381 init_event_Xt_late (); |
5383 else | 5382 else |
5388 else | 5387 else |
5389 #endif | 5388 #endif |
5390 { | 5389 { |
5391 /* For TTY's, use the Xt event loop if we can; it allows | 5390 /* For TTY's, use the Xt event loop if we can; it allows |
5392 us to later open an X connection. */ | 5391 us to later open an X connection. */ |
5393 #if defined (HAVE_X_WINDOWS) && !defined (DEBUG_TTY_EVENT_STREAM) | 5392 #if defined (HAVE_MS_WINDOWS) && defined (HAVE_MSG_SELECT) \ |
5393 && !defined (DEBUG_TTY_EVENT_STREAM) | |
5394 init_event_mswindows_late (); | |
5395 #elif defined (HAVE_X_WINDOWS) && !defined (DEBUG_TTY_EVENT_STREAM) | |
5394 init_event_Xt_late (); | 5396 init_event_Xt_late (); |
5395 #elif defined (HAVE_TTY) | 5397 #elif defined (HAVE_TTY) |
5396 init_event_tty_late (); | 5398 init_event_tty_late (); |
5397 #elif defined (HAVE_MS_WINDOWS) | |
5398 init_event_mswindows_late (); | |
5399 #endif | 5399 #endif |
5400 } | 5400 } |
5401 init_interrupts_late (); | 5401 init_interrupts_late (); |
5402 } | 5402 } |
5403 } | 5403 } |