SizeID XRRConfigCurrentConfiguration(XRRScreenConfiguration *config, Rotation *rotation);
/* * the following are always safe to call, even if RandR is not implemented * on a screen */ Rotation XRRRotations(Display *dpy, int screen, Rotation *current_rotation);
Rotation XRRConfigRotations(XRRScreenConfiguration *config, Rotation *current_rotation);