xfree86: fix up wrong use of OptionRec for AutoAddDevices andAutoEnableDevices
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
971d4eac12
commit
c7987660fd
|
@ -710,7 +710,11 @@ typedef enum {
|
||||||
FLAG_DRI2,
|
FLAG_DRI2,
|
||||||
FLAG_USE_SIGIO
|
FLAG_USE_SIGIO
|
||||||
} FlagValues;
|
} FlagValues;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE: the last value for each entry is NOT the default. It is set to TRUE
|
||||||
|
* if the parser found the option in the config file.
|
||||||
|
*/
|
||||||
static OptionInfoRec FlagOptions[] = {
|
static OptionInfoRec FlagOptions[] = {
|
||||||
{ FLAG_NOTRAPSIGNALS, "NoTrapSignals", OPTV_BOOLEAN,
|
{ FLAG_NOTRAPSIGNALS, "NoTrapSignals", OPTV_BOOLEAN,
|
||||||
{0}, FALSE },
|
{0}, FALSE },
|
||||||
|
@ -759,9 +763,9 @@ static OptionInfoRec FlagOptions[] = {
|
||||||
{ FLAG_USE_DEFAULT_FONT_PATH, "UseDefaultFontPath", OPTV_BOOLEAN,
|
{ FLAG_USE_DEFAULT_FONT_PATH, "UseDefaultFontPath", OPTV_BOOLEAN,
|
||||||
{0}, FALSE },
|
{0}, FALSE },
|
||||||
{ FLAG_AUTO_ADD_DEVICES, "AutoAddDevices", OPTV_BOOLEAN,
|
{ FLAG_AUTO_ADD_DEVICES, "AutoAddDevices", OPTV_BOOLEAN,
|
||||||
{0}, TRUE },
|
{0}, FALSE },
|
||||||
{ FLAG_AUTO_ENABLE_DEVICES, "AutoEnableDevices", OPTV_BOOLEAN,
|
{ FLAG_AUTO_ENABLE_DEVICES, "AutoEnableDevices", OPTV_BOOLEAN,
|
||||||
{0}, TRUE },
|
{0}, FALSE },
|
||||||
{ FLAG_GLX_VISUALS, "GlxVisuals", OPTV_STRING,
|
{ FLAG_GLX_VISUALS, "GlxVisuals", OPTV_STRING,
|
||||||
{0}, FALSE },
|
{0}, FALSE },
|
||||||
{ FLAG_DRI2, "DRI2", OPTV_BOOLEAN,
|
{ FLAG_DRI2, "DRI2", OPTV_BOOLEAN,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user