internal extern static int XCloseDisplay(IntPtr display); [DllImport ("libX11", EntryPoint="XSynchronize")]