Re: [gtk-list] Re: Xlib errors - Can someone decrypt this for me?



> > Perchance have you fork()ed and exec()ed without closing the connection to
> > the X server?
> > If so, #include <X11/Xlib.h> and <gdk/gdkx.h> and do
> > close( ConnectionNumber( gdk_display );
> > after the fork() and before the exec();

That worked perfectly thanks.  :)

> It sure would be nice to have gdk_close_display() for this purpose...

Or at the very least some documentation I can get ahold of explaining
how to do something so common as this.

-- 
David Nicklay _________ Ventura  O-
     \  /_ .__|_   .__.  o|| _ 
      \/(/_| ||_|_||(_|\/|||(/_ 
    http://www.avana.net/~ventura/



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