Re: emit_event warning in GnomeCanvas



jacob berkman <jacob ximian com> writes:

> On Sat, 2001-12-08 at 14:07, Owen Taylor wrote:
> > 
> > jacob berkman <jacob ximian com> writes:
> > 
> > > On Fri, 2001-12-07 at 13:43, Darin Adler wrote:
> > > > On 12/7/01 10:38 AM, "jacob berkman" <jacob ximian com> wrote:
> > > > 
> > > > > is there a mechanism for propogating debug flags from gtk to gdk?
> > > > > should i add a function gdk_disable_pointer_grabs() ?
> > > > 
> > > > Gdk has its own debug flags. GDK_DEBUG. Grep for it.
> > > 
> > > ahh thanks. i should have guessed that.
> > > 
> > > here's an initial patch that does what my old one did.
> > > 
> > > is it necessary to do the checks before every XGrab* and XUngrab* call,
> > > or is this sufficiently helpful?
> > 
> > I think you should handle keyboard grabs as well, but not
> > server grabs ... they are only used when we need
> > atomicity guarantees, GTK+ doesn't provide a public
> > interfaces for them, and if you step into the internals
> > of, say, gtkdnd.c, you better know what you are
> > doing.
> 
> ok.  what about XGrabDevice() ?

I don't think it matters much since you aren't going
to be using your graphics tablet in gdb... but I'd
say for consistency it's probably good to do that
one as well.

Regards,
                                        Owen



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