changeset 43149:a50d91dfe5f8

(recursive_edit_1): Call cancel_hourglass unconditionally.
author Pavel Janík <Pavel@Janik.cz>
date Wed, 06 Feb 2002 22:41:43 +0000
parents b3cf1a561428
children ee557660a984
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Feb 06 22:37:12 2002 +0000
+++ b/src/keyboard.c	Wed Feb 06 22:41:43 2002 +0000
@@ -928,8 +928,8 @@
 #ifdef HAVE_X_WINDOWS
   /* The command loop has started an hourglass timer, so we have to
      cancel it here, otherwise it will fire because the recursive edit
-     can take some time.  */
-  if (display_hourglass_p)
+     can take some time.  Do not check for display_hourglass_p here,
+     because it could already be nil.  */
     cancel_hourglass ();
 #endif