[xorg-commit-diffs] xc/programs/Xserver/dix dispatch.c, 1.1.4.4.2.3, 1.1.4.4.2.3.6.1

Roland Mainz xorg-commit at pdx.freedesktop.org
Sat Apr 17 12:34:50 EST 2004


Committed by: gisburn

Update of /cvs/xorg/xc/programs/Xserver/dix
In directory pdx:/tmp/cvs-serv18621/xc/programs/Xserver/dix

Modified Files:
      Tag: XPRINT
	dispatch.c 
Log Message:
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")

Index: dispatch.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/dix/dispatch.c,v
retrieving revision 1.1.4.4.2.3
retrieving revision 1.1.4.4.2.3.6.1
diff -u -d -r1.1.4.4.2.3 -r1.1.4.4.2.3.6.1
--- a/dispatch.c	8 Mar 2004 00:36:56 -0000	1.1.4.4.2.3
+++ b/dispatch.c	17 Apr 2004 02:34:47 -0000	1.1.4.4.2.3.6.1
@@ -253,7 +253,14 @@
 #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;




More information about the xorg-commit-diffs mailing list