diff options
author | Keith Packard <keithp@guitar.keithp.com> | 2007-02-20 23:04:26 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-03-17 23:34:58 -0700 |
commit | 9d0c3b52f25df89738fb1a62ccffda8c8cbb4689 (patch) | |
tree | bfd47fa3ccdf491f168644d6669f9f0c75d998f1 /randr/randrstr.h | |
parent | 2c93083edd29a65e73bb2e8eff9d353e92845c9b (diff) |
Eliminate RRModeRec devPrivate field.
The xf86 mode setting code was mis-using this field to try and store a
pointer to a DisplayModeRec, however, each output has its own copy of every
DisplayModeRec leaving the one in in the RRModeRec devPrivate field pointing
at a random DisplayModeRec.
Instead of attempting to rectify this, eliminating the devPrivate entirely
turned out to be very easy; the DDX code now accepts an arbitrary RRModeRec
structure and set that to the hardware, converting it on the fly to a
DisplayModeRec as needed.
(cherry picked from commit 3506b9376c2b0db09bfff58d64e07af88a6e8195)
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r-- | randr/randrstr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h index f6d35cf1d..0dee99921 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -79,7 +79,6 @@ struct _rrMode { int refcnt; xRRModeInfo mode; char *name; - void *devPrivate; ScreenPtr userScreen; }; |