From 842650279c68418423f9d7e264416ab2575d86c8 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 25 Feb 2000 14:05:03 +0000 Subject: [PATCH] (recursive_edit_1): Cancel busy-cursor. --- src/keyboard.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index ff94b42677c..75bafc28b83 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); -- 2.39.5