summaryrefslogtreecommitdiff
path: root/randr/rrproperty.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-02-25 11:37:05 -0800
committerKeith Packard <keithp@keithp.com>2010-02-25 11:37:05 -0800
commitcba2af9aff2e95e937d504e18171406a6e3dcccb (patch)
tree8a64fdf910ea320426bbcbd5ae5e027525110716 /randr/rrproperty.c
parent04aa75ae2e2f5bbe3ad72bcd45019f87ce036746 (diff)
Allow for missing or disabled compat_outputcompat_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@keithp.com>
Diffstat (limited to 'randr/rrproperty.c')
0 files changed, 0 insertions, 0 deletions