diff options
| author | Gerd Moellmann | 1999-07-21 21:43:52 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-07-21 21:43:52 +0000 |
| commit | efa2a55cbd069dc74315ca7b4c6a9d3244a70df4 (patch) | |
| tree | c55004950ea98081ec930dcb86887401b8ffbc40 /src/process.c | |
| parent | 48f8dfa38dee9b000f56f2bd65aeffe6cde59bfb (diff) | |
| download | emacs-efa2a55cbd069dc74315ca7b4c6a9d3244a70df4.tar.gz emacs-efa2a55cbd069dc74315ca7b4c6a9d3244a70df4.zip | |
(wait_reading_process_input): Show and hide busy
cursor.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 80dc4e06140..50b8647aa38 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2314,6 +2314,11 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 2314 | { | 2314 | { |
| 2315 | int timeout_reduced_for_timers = 0; | 2315 | int timeout_reduced_for_timers = 0; |
| 2316 | 2316 | ||
| 2317 | #ifdef HAVE_X_WINDOWS | ||
| 2318 | if (display_busy_cursor_p) | ||
| 2319 | Fx_hide_busy_cursor (Qnil); | ||
| 2320 | #endif | ||
| 2321 | |||
| 2317 | /* If calling from keyboard input, do not quit | 2322 | /* If calling from keyboard input, do not quit |
| 2318 | since we want to return C-g as an input character. | 2323 | since we want to return C-g as an input character. |
| 2319 | Otherwise, do pending quit if requested. */ | 2324 | Otherwise, do pending quit if requested. */ |
| @@ -2725,6 +2730,12 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 2725 | Turn periodic alarms back on */ | 2730 | Turn periodic alarms back on */ |
| 2726 | start_polling (); | 2731 | start_polling (); |
| 2727 | #endif | 2732 | #endif |
| 2733 | |||
| 2734 | #ifdef HAVE_X_WINDOWS | ||
| 2735 | if (display_busy_cursor_p) | ||
| 2736 | if (!inhibit_busy_cursor) | ||
| 2737 | Fx_show_busy_cursor (); | ||
| 2738 | #endif | ||
| 2728 | 2739 | ||
| 2729 | return got_some_input; | 2740 | return got_some_input; |
| 2730 | } | 2741 | } |