internal extern static int _XConnectionNumber (IntPtr display); internal static int XConnectionNumber (IntPtr display) {