internal static int XConnectionNumber (IntPtr display) { DebugHelper.TraceWriteLine ("XConnectionNumber"); return _XConnectionNumber (display); } [DllImport ("libX11", EntryPoint="XPending")]