pub fn cairo_should_draw_window<P: IsA<Window>>(cr: &Context, window: &P) -> bool