[xorg-commit-diffs] xc/programs/Xserver/mi miinitext.c, 1.1.4.7, 1.1.4.8

Roland Mainz xorg-commit at pdx.freedesktop.org
Thu Apr 22 09:24:23 EST 2004


Committed by: gisburn

Update of /cvs/xorg/xc/programs/Xserver/mi
In directory pdx:/tmp/cvs-serv25904/xc/programs/Xserver/mi

Modified Files:
      Tag: XORG-CURRENT
	miinitext.c 
Log Message:
Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=535 - Xprt should not annouce extensions which are not supported

Index: miinitext.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/mi/miinitext.c,v
retrieving revision 1.1.4.7
retrieving revision 1.1.4.8
diff -u -d -r1.1.4.7 -r1.1.4.8
--- a/miinitext.c	15 Apr 2004 10:17:22 -0000	1.1.4.7
+++ b/miinitext.c	21 Apr 2004 23:24:20 -0000	1.1.4.8
@@ -62,6 +62,30 @@
 #undef GLXEXT
 #endif
 
+/* Make sure Xprt only announces extensions it supports */
+#ifdef PRINT_ONLY_SERVER
+#undef MITSHM /* this is incompatible to the vector-based Xprint DDX */
+#undef XKB
+#undef PANORAMIX
+#undef RES
+#undef XIE
+#undef GLXEXT /* not yet */
+#undef XINPUT
+#undef XV
+#undef SCREENSAVER
+#undef XIDLE
+#undef XRECORD
+#undef DBE
+#undef XF86VIDMODE
+#undef XF86MISC
+#undef XFreeXDGA
+#undef XF86DRI
+#undef DPMSExtension
+#undef DPSEXT
+#undef FONTCACHE
+#undef RENDER /* not yet */
+#endif /* PRINT_ONLY_SERVER */
+
 #ifdef PANORAMIX
 extern Bool noPanoramiXExtension;
 #endif




More information about the xorg-commit-diffs mailing list