summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-09-18 20:59:52 -0700
committerKeith Packard <keithp@keithp.com>2009-09-21 17:24:11 -0700
commit4758311842a16600287c8f9f77ce0af1a31b9264 (patch)
treea2eda7b3619bc771d8908ace31853ba1ad9c9eba /src/i830.h
parent505025053d66d415e1c23ac858b9238fa8541d37 (diff)
Remove vestigial internal rotation which broke KMS DGA/VidMode modesetting.
Pre-2.0, the driver supported rotation internally, rather than relying on the X server rotation support. The last piece of this dealt with rotating the mouse coordinates and also tried to preserve rotation across DGA/VidModeExtension modesetting requests. That latter bit of code broke under KMS as the rotation value was never initialized, and when set to zero would create an invalid configuration. This would confuse xrandr which would bail before making any changes, leaving the user without a way to recover. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i830.h b/src/i830.h
index c3b0d022..d597308f 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -395,8 +395,7 @@ typedef struct _I830Rec {
#endif
XF86ModReqInfo shadowReq; /* to test for later libshadow */
- Rotation rotation;
- void (*PointerMoved)(int, int, int);
+
CreateScreenResourcesProcPtr CreateScreenResources;
i830_memory *power_context;