bool xwin_should_render(void); void xwin_settype(struct renderer* rd, const char* type);