FW: RE: [gtk-list] grabs, gdb and GTK+




Start gdb from a virtual console. Then you can switch back fine.

-tony


On 15-Nov-99 Paul Barton-Davis wrote:
> once again, i ask the powers-that-be to consider changing the
> behaviour of certain widgets that take action on a button press
> event. their application almost always hold a server grab at that
> point, which means that if you want to use gdb to debug a function
> executed as part of the button press handler(s), you are *hosed* -
> you
> can't get pointer focus to leave the application until button
> release
> is seen by the X server and delivered.
> 
> this happens, for example, in most of the widgets the generate a
> "Selection" signal - the signal is emitted by the button press
> handler, and anything attached to it is impossible to debug.
> 
> unless, of course, anyone has any hints ...
> 
> --p
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
> /dev/null

---
E-Mail: trog@gtk.org
Bucy's Law:
	Nothing is ever accomplished by a reasonable man.

Go Bezerk! http://www.gtk.org/~trog



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]