The only way to get at xf86Info.disableRandR from configuration is Option "RANDR" "foo" in ServerFlags, which probably nobody is using seeing as it's not documented. The other way it could be set is if a screen supports RANDR 1.2, in which case we set it to avoid trying to use the RANDR 1.1 compat code. If the second screen is not 1.2-aware then this would mean we don't do RANDR setup on the second screen at all, which would almost certainly crash the first time you try to do RANDR operations on the second screen. Fix that all by deletion, and just check whether the screen already has RANDR initialized before installing the stub support. If you want to disable RANDR, use the Extensions section of xorg.conf instead. v2: Also remove a now entirely pointless log message, telling you to ignore a line we will no longer print. v3: Explain the fallback path in InitOutput. (Keith Packard) v4: Check whether the RANDR private key is initialized before trying to use it to look up the screen private. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com> |
||
---|---|---|
.. | ||
Makefile.am | ||
meson.build | ||
xf86Crtc.c | ||
xf86Crtc.h | ||
xf86Cursors.c | ||
xf86cvt.c | ||
xf86DiDGA.c | ||
xf86EdidModes.c | ||
xf86gtf.c | ||
xf86Modes.c | ||
xf86Modes.h | ||
xf86RandR12.c | ||
xf86RandR12.h | ||
xf86Rotate.c |