summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-17 15:24:01 +1000
committerDave Airlie <airlied@redhat.com>2009-09-17 15:24:51 +1000
commit2edf967b00963559552d061bb98b15243d978279 (patch)
treed1b4c2c0642b797d981f9bf49edefbcb9b06b084 /hw
parent715953bf5c00b4605dd6ab45c92140c0e81174ee (diff)
xserver: SIGIO option handling was incorrect.
reported by a user on #radeon when DRI1 broke. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
index 0605f37e0..f5dc9f4a1 100644
--- a/hw/xfree86/common/xf86Config.c
+++ b/hw/xfree86/common/xf86Config.c
@@ -767,7 +767,7 @@ static OptionInfoRec FlagOptions[] = {
{ FLAG_DRI2, "DRI2", OPTV_BOOLEAN,
{0}, FALSE },
{ FLAG_USE_SIGIO, "UseSIGIO", OPTV_BOOLEAN,
- {0}, USE_SIGIO_BY_DEFAULT },
+ {0}, FALSE },
{ -1, NULL, OPTV_NONE,
{0}, FALSE },
};
@@ -836,7 +836,7 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts)
}
if (xf86SIGIOSupported()) {
- xf86GetOptValBool(FlagOptions, FLAG_USE_SIGIO, &xf86Info.useSIGIO);
+ xf86Info.useSIGIO = xf86ReturnOptValBool(FlagOptions, FLAG_USE_SIGIO, USE_SIGIO_BY_DEFAULT);
if (xf86IsOptionSet(FlagOptions, FLAG_USE_SIGIO)) {
from = X_CONFIG;
} else {