diff options
Diffstat (limited to 'randr')
-rw-r--r-- | randr/randrstr.h | 7 | ||||
-rw-r--r-- | randr/rrcrtc.c | 10 |
2 files changed, 17 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h index 136a47e43..99022c313 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -543,6 +543,13 @@ RRCrtcGammaSetSize (RRCrtcPtr crtc, int size); /* + * Set the allowable rotations of the CRTC. + */ +Bool +RRCrtcSetRotations (RRCrtcPtr crtc, + Rotation rotations); + +/* * Destroy a Crtc at shutdown */ void diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index 076742077..cfd4da9f7 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -427,6 +427,16 @@ RRCrtcGammaSetSize (RRCrtcPtr crtc, } /* + * Set the allowable rotations of the CRTC. + */ +Bool +RRCrtcSetRotations (RRCrtcPtr crtc, + Rotation rotations) +{ + crtc->rotations = rotations; +} + +/* * Initialize crtc type */ Bool |