Skip to content
Snippets Groups Projects
Commit cba2af9a authored by Keith Packard's avatar Keith Packard
Browse files

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: default avatarKeith Packard <keithp@keithp.com>
parent 04aa75ae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment