[Xcb] OK to ignore BadWindow errors?

Peter Harris pharris at opentext.com
Mon Jul 27 08:35:49 PDT 2009


Donald Ephraim Curtis wrote:
> When I get a new systray window request I reparent it under my main
> window.  This works OK until the window is destroyed and then it looks
> like there are extraneous events that get pushed through AFTER the
> destroy event is called.  

This is on different connections? Yeah, it's almost impossible to avoid
this sort of race when using separate connections.

> So is it OK practice to ignore these???

Yes. X11 errors are advisory, not fatal.

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://www.opentext.com/connectivity
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the Xcb mailing list