diff src/keyboard.c @ 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 7b45dfaa39cd
children a50d91dfe5f8
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: ;