internal extern static int _XGetWindowAttributes(IntPtr display, IntPtr window, ref XWindowAttributes attributes); internal static int XGetWindowAttributes(IntPtr display, IntPtr window, ref XWindowAttributes attributes) {