changeset 60555:2895b0a63b0e

* xfns.c (hourglass_started): New function.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 10 Mar 2005 19:08:01 +0000
parents d22b2f00dcfe
children 5aa4c4b8de08
files src/xfns.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Mar 10 19:07:39 2005 +0000
+++ b/src/xfns.c	Thu Mar 10 19:08:01 2005 +0000
@@ -4291,6 +4291,14 @@
 static void show_hourglass P_ ((struct atimer *));
 static void hide_hourglass P_ ((void));
 
+/* Return non-zero if houglass timer has been started or hourglass is shown.  */
+
+int
+hourglass_started ()
+{
+  return hourglass_shown_p || hourglass_atimer != NULL;
+}
+
 
 /* Cancel a currently active hourglass timer, and start a new one.  */