internal override FormWindowState GetWindowState(IntPtr handle) { X11Hwnd hwnd = (X11Hwnd)Hwnd.ObjectFromHandle(handle); if (hwnd == null) { return(FormWindowState.Normal); // XXX should we throw an exception here? probably } return(hwnd.GetWindowState()); }