RandR (etc) DriverFunc

Thomas Winischhofer thomas at winischhofer.net
Tue Mar 15 08:18:22 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


xf86str.h states that the driver should return FALSE if a driver
function is not supported.

This does not comply with the current use of DriverFunc, namely in
xf86RandR.c. If the driver returns FALSE there, the function calling the
driver function will fail.

So, either we should change the default behavior to return TRUE in the
driver func if the function opcode is not understood by the driver, or
change the existing code not to bail out on FALSE.

Thomas

- --
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net	       *** http://www.winischhofer.net
twini AT xfree86 DOT org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCNwrOzydIRAktyUcRAhZlAKCHc/MIP5wd43tLZMtbKBRCGkW1ngCg1nde
nPbPY+ozIyBIqizJQRd9MYg=
=bjy1
-----END PGP SIGNATURE-----



More information about the xorg mailing list