This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: feature suggestion
- From: Keith Seitz <keiths at cygnus dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Insight List <insight at sourceware dot cygnus dot com>
- Date: Tue, 4 Dec 2001 11:36:42 -0800 (PST)
- Subject: Re: feature suggestion
On 3 Dec 2001, Tom Tromey wrote:
> It would be helpful to me if the (mouse) cursor changed to a watch
> over the console window when the inferior is executing.
Try this patch. If it works, I'll check something in.
Keith
Index: library/console.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/console.itb,v
retrieving revision 1.14
diff -u -p -r1.14 console.itb
--- library/console.itb 2001/10/17 20:30:29 1.14
+++ library/console.itb 2001/12/04 19:36:22
@@ -205,6 +205,7 @@ body Console::_build_win {} {
body Console::idle {event} {
set _running 0
+ $_top configure -cursor {}
}
# ------------------------------------------------------------------
@@ -212,6 +213,7 @@ body Console::idle {event} {
# ------------------------------------------------------------------
body Console::busy {event} {
set _running 1
+ $_top configure -cursor watch
}
# ------------------------------------------------------------------