xserver: Changes to 'compat_output'
Keith Packard
keithp at kemper.freedesktop.org
Thu Feb 25 11:40:34 PST 2010
New branch 'compat_output' available with the following commits:
commit cba2af9aff2e95e937d504e18171406a6e3dcccb
Author: Keith Packard <keithp at keithp.com>
Date: Thu Feb 25 11:37:05 2010 -0800
Allow for missing or disabled compat_output
When the compat output is missing (I don't think this is actually
possible), or is disabled (and hence has no crtc), we would like to
avoid dereferencing NULL pointers. This patch creates inline functions
to extract the current compat output, crtc or associated RandR crtc
structure, carefully checking for NULL pointers everywhere.
Signed-off-by: Keith Packard <keithp at keithp.com>
commit 04aa75ae2e2f5bbe3ad72bcd45019f87ce036746
Author: Keith Packard <keithp at keithp.com>
Date: Thu Feb 25 11:35:03 2010 -0800
Share enum definition for det_monrec_parameter sync_source
There were two separate enum definitions, one inside
det_monrec_parameter struct and one for a local variable (which was then
stored inside the struct). Sharing a single definition makes the
code more obviously correct while making the compiler happier.
Signed-off-by: Keith Packard <keithp at keithp.com>
More information about the xorg-commit
mailing list