From 30076589d34c643f3e750078fcbb5bb085eaf0c9 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 27 Mar 2008 17:11:40 +0000 Subject: [PATCH] (start_hourglass): Suppress hourglass on tty frames. --- src/ChangeLog | 4 ++++ src/w32fns.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 907f2c6cdc6..c04ca11131c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-03-27 Jason Rumney + + * w32fns.c (start_hourglass): Suppress hourglass on tty frames. + 2008-03-27 Kenichi Handa * charset.c (Fdefine_charset_internal): Change the way of diff --git a/src/w32fns.c b/src/w32fns.c index ed5decdc868..f314b4b4f7c 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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) -- 2.39.5