grabs, gdb and GTK+



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



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