# HG changeset patch # User Pavel Jank # Date 1012644578 0 # Node ID 9472d3bc920c8dd4009357c3c80b45e32c723635 # Parent 1507ff35afcdc91f9ca0a1edc3ebd4dfabf70616 (command_loop_1) [HAVE_X_WINDOWS]: Call cancel_hourglass unconditionally. diff -r 1507ff35afcd -r 9472d3bc920c src/keyboard.c --- a/src/keyboard.c Sat Feb 02 10:08:08 2002 +0000 +++ b/src/keyboard.c Sat Feb 02 10:09:38 2002 +0000 @@ -1641,8 +1641,10 @@ Fcommand_execute (Vthis_command, Qnil, Qnil, Qnil); #ifdef HAVE_X_WINDOWS - if (display_hourglass_p) - cancel_hourglass (); + /* Do not check display_hourglass_p here, because + Fcommand_execute could change it, but we should cancel + hourglass cursor anyway. */ + cancel_hourglass (); #endif } directly_done: ;