[9688] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Debugging and XGrabPointer
daemon@ATHENA.MIT.EDU (Havoc Pennington)
Fri Oct 30 17:01:38 1998
Date: Fri, 30 Oct 1998 15:58:21 -0600 (CST)
From: Havoc Pennington <rhpennin@midway.uchicago.edu>
To: gtk-list <gtk-list@redhat.com>
In-Reply-To: <363A0B48.73D8A480@la.creatureshop.henson.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
On Fri, 30 Oct 1998, Michael Babcock wrote:
> I'm having some trouble debugging our Gtk-- application. The problem is
> that if you set a breakpoint that is hit in response to some user action
> like clicking a menu or selecting an item from a combo box, the pointer
> is grabbed so you can't go to your debugger and do anything. DDD at
> least detects this so you don't have to switch to another virtual
> console and kill the program, but you still can't use the breakpoint.
>
Tero's solution is good. Another option that I use is to have a window
manager key shortcut to minimize windows; at least with WindowMaker, when
you minimize a window the grab is released.
Havoc
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null