c7e4222c9a
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=30367 Currently the ddx calls xf86RandR12Init() (-> RRScreenInit() -> RRInit() -> RRModeInit() -> RRCrtcInit() -> RROutputInit()) before RRExtensionInit() is called. This causes RRErrorBase being 0 while setting resource type error values (resource types: RROutput, RRMode and RRCrtc). The fix moves the setting of error values to own functions which are called in RRExtensionInit() to get the right RRErrorBase. V2: With header file Signed-off-by: Tobias Droste <tdroste@gmx.de> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com> |
||
---|---|---|
.. | ||
Makefile.am | ||
mirandr.c | ||
randr.c | ||
randrstr.h | ||
rrcrtc.c | ||
rrdispatch.c | ||
rrinfo.c | ||
rrmode.c | ||
rroutput.c | ||
rrpointer.c | ||
rrproperty.c | ||
rrscreen.c | ||
rrsdispatch.c | ||
rrtransform.c | ||
rrtransform.h | ||
rrxinerama.c |