Commit graph

8 commits

Author SHA1 Message Date
Keith Packard
8798c8cfa8 Allow DDX to not supply a property set notification function.
Check rrOutputSetProperty and only call if it isn't NULL.
2007-01-30 19:05:20 -08:00
Eric Anholt
364fb547d4 When changing a non-pending property, call the screen rrOutputSetProperty hook. 2007-01-29 23:01:51 -08:00
Eric Anholt
11307c4b88 Don't forget to add the property we configure to the properties list. 2007-01-29 23:01:50 -08:00
Keith Packard
66b6358a39 RandR ListOutputProperties has nAtoms element, not nProperties
Earlier RandR 1.2 encoding revisions used 8-bit nProperties field.
Final RandR 1.2 spec uses 16-bit nAtoms field instead.
2006-11-30 23:16:42 -08:00
Keith Packard
0626eb8e5c Allocate correct size for RRPropertyRec (oops).
Neglected to change the allocation size from sizeof (PropertyRec) to
sizeof (RRPropertyRec). Lots of fun crashes this way.
2006-11-21 16:52:28 -08:00
Keith Packard
af55c65bea Change RandR property datatype to include pending/valid values.
This patch tracks the protocol changes which introduce more complex
semantics for RandR output properties including pending and valid value
information.
2006-11-21 01:15:26 -08:00
Keith Packard
39ecb2b109 Limit pointer to valid crtc areas. Add event swapping. Fix change tracking.
Add function to keep pointer within valid crtc areas.
Finish event delivery and swapping code.
Separate configuration from layout changes to send correct events.
2006-11-16 10:03:01 -08:00
Keith Packard
817a82faaf Steal Xinerama code from SiS driver. Add missing files.
Provide a Xinerama implementation when DIX version isn't enabled. This
version exposes each crtc as a separate 'screen' and reports the size of
that patch. The extension also sends ConfigureNotify events to the root
window whenever crtcs change so that applications will re-fetch xinerama
information. This actually works for metacity.
2006-11-16 10:02:59 -08:00