changeset 43057:9472d3bc920c

(command_loop_1) [HAVE_X_WINDOWS]: Call cancel_hourglass unconditionally.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 02 Feb 2002 10:09:38 +0000
parents 1507ff35afcd
children 39be9e04a9a4
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: ;