Re: [gtk-list] Closing connection to display



Ondrejicka Stefan writes:

> How can I close connection to X display without exiting program?

#include <X11/Xlib.h>
#include <gdk/gdkx.h>

...
close( ConnectionNumber( gdk_display ));

--
James Bailie

http://users.imag.net/~lon.jbailie



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