mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
(wait_reading_process_input): Show and hide busy
cursor.
This commit is contained in:
parent
48f8dfa38d
commit
efa2a55cbd
1 changed files with 11 additions and 0 deletions
|
|
@ -2314,6 +2314,11 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
|
|||
{
|
||||
int timeout_reduced_for_timers = 0;
|
||||
|
||||
#ifdef HAVE_X_WINDOWS
|
||||
if (display_busy_cursor_p)
|
||||
Fx_hide_busy_cursor (Qnil);
|
||||
#endif
|
||||
|
||||
/* If calling from keyboard input, do not quit
|
||||
since we want to return C-g as an input character.
|
||||
Otherwise, do pending quit if requested. */
|
||||
|
|
@ -2725,6 +2730,12 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
|
|||
Turn periodic alarms back on */
|
||||
start_polling ();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_X_WINDOWS
|
||||
if (display_busy_cursor_p)
|
||||
if (!inhibit_busy_cursor)
|
||||
Fx_show_busy_cursor ();
|
||||
#endif
|
||||
|
||||
return got_some_input;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue