diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-04-17 02:34:47 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-04-17 02:34:47 +0000 |
commit | 0d0097350fbbe12b434f625004f2fe9ed4091ee7 (patch) | |
tree | 9e95509034060859661dbc11b12c03f8f98e13b5 | |
parent | 2ff5f1449c93ea3b9d8bfa1c2f7380c4521313fc (diff) |
Fix for http://xprint.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=491
- RFE: Need workaround for bug 467 ("Xfree86 smart scheduler breaks
Xprt")
-rw-r--r-- | dix/dispatch.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index 0afed6ef4..fc8715c03 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -1,4 +1,4 @@ -/* $XdotOrg: xc/programs/Xserver/dix/dispatch.c,v 1.1.4.4.2.2 2004/03/04 17:47:26 eich Exp $ */ +/* $XdotOrg: xc/programs/Xserver/dix/dispatch.c,v 1.1.4.4.2.3 2004/03/08 00:36:56 alanc Exp $ */ /* $Xorg: dispatch.c,v 1.5 2001/02/09 02:04:40 xorgcvs Exp $ */ /************************************************************ @@ -253,7 +253,14 @@ FlushClientCaches(id) #define SMART_SCHEDULE_DEFAULT_INTERVAL 20 /* ms */ #define SMART_SCHEDULE_MAX_SLICE 200 /* ms */ -Bool SmartScheduleDisable; +#ifdef XPRINT +/* Somehow the XF86 "smart scheduler" completely kills the Xprint DDX + * (see http://xprint.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=467 + * ("Xfree86's "smart scheduler" breaks Xprt") */ +Bool SmartScheduleDisable = TRUE; +#else +Bool SmartScheduleDisable = FALSE; +#endif /* XPRINT */ long SmartScheduleSlice = SMART_SCHEDULE_DEFAULT_INTERVAL; long SmartScheduleInterval = SMART_SCHEDULE_DEFAULT_INTERVAL; long SmartScheduleMaxSlice = SMART_SCHEDULE_MAX_SLICE; |