From 2edf967b00963559552d061bb98b15243d978279 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 17 Sep 2009 15:24:01 +1000 Subject: [PATCH] xserver: SIGIO option handling was incorrect. reported by a user on #radeon when DRI1 broke. Signed-off-by: Dave Airlie --- hw/xfree86/common/xf86Config.c | 4 ++-- 1 file 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 {