internal override void SetClipRegion(IntPtr handle, Region region) { X11Hwnd hwnd = (X11Hwnd)Hwnd.ObjectFromHandle(handle); if (hwnd != null) { hwnd.SetClipRegion(region); } }