aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-02-25 14:05:03 +0000
committerGerd Moellmann <[email protected]>2000-02-25 14:05:03 +0000
commit842650279c68418423f9d7e264416ab2575d86c8 (patch)
tree37ccb8092b17e5d7b187a3f16acf05452dfad73d /src
parentf5b586154bd536c72e0fda305f688d701fc87928 (diff)
(recursive_edit_1): Cancel busy-cursor.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index ff94b42677..75bafc28b8 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -858,6 +858,14 @@ recursive_edit_1 ()
specbind (Qstandard_input, Qt);
}
+#ifdef HAVE_X_WINDOWS
+ /* The command loop has started a busy-cursor timer, so we have to
+ cancel it here, otherwise it will fire because the recursive edit
+ can take some time. */
+ if (display_busy_cursor_p)
+ cancel_busy_cursor ();
+#endif
+
val = command_loop ();
if (EQ (val, Qt))
Fsignal (Qquit, Qnil);