summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-02-01 15:44:18 -0800
committerKeith Packard <keithp@neko.keithp.com>2007-02-01 15:44:18 -0800
commit9f0acf1eb01ad8320f4da4cc5e498af25c0ecc5e (patch)
tree7347eb7da1a43b0359da1fd57c4cac366046198d /src
parentd6bc03c379c46842676f640b8edb13ea828bf20c (diff)
Check for rotation change in xf86RandR12CrtcSet.
xf86RandRCrtcSet was ignoring changes to only rotation, so the screen would be left incorrectly rotated.
Diffstat (limited to 'src')
-rw-r--r--src/i830_randr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_randr.c b/src/i830_randr.c
index 5eccf4bd..811fc50e 100644
--- a/src/i830_randr.c
+++ b/src/i830_randr.c
@@ -608,6 +608,9 @@ xf86RandR12CrtcSet (ScreenPtr pScreen,
else if (mode && !xf86ModesEqual (&crtc->mode, mode))
changed = TRUE;
+ if (rotation != crtc->rotation)
+ changed = TRUE;
+
if (x != crtc->x || y != crtc->y)
changed = TRUE;
for (o = 0; o < config->num_output; o++)