(start_hourglass): Suppress hourglass on tty frames.
authorJason Rumney <jasonr@gnu.org>
Thu, 27 Mar 2008 17:11:40 +0000 (17:11 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 27 Mar 2008 17:11:40 +0000 (17:11 +0000)
src/ChangeLog
src/w32fns.c

index 907f2c6..c04ca11 100644 (file)
@@ -1,3 +1,7 @@
+2008-03-27  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (start_hourglass): Suppress hourglass on tty frames.
+
 2008-03-27  Kenichi Handa  <handa@ni.aist.go.jp>
 
        * charset.c (Fdefine_charset_internal): Change the way of
index ed5decd..f314b4b 100644 (file)
@@ -7280,6 +7280,10 @@ start_hourglass ()
   int secs, msecs = 0;
   struct frame * f = SELECTED_FRAME ();
 
+  /* No cursors on non GUI frames.  */
+  if (!FRAME_W32_P (f))
+    return;
+
   cancel_hourglass ();
 
   if (INTEGERP (Vhourglass_delay)