This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
 }

 # ------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]