Xprt should not annouce extensions which are not supported
This commit is contained in:
Roland Mainz 2004-04-21 23:24:20 +00:00
parent 1af13123fa
commit 68fd529608

View File

@ -1,4 +1,4 @@
/* $XdotOrg$ */
/* $XdotOrg: xc/programs/Xserver/mi/miinitext.c,v 1.1.4.7 2004/04/15 10:17:22 eich Exp $ */
/* $XFree86: xc/programs/Xserver/mi/miinitext.c,v 3.67 2003/01/12 02:44:27 dawes Exp $ */
/***********************************************************
@ -62,6 +62,30 @@ SOFTWARE.
#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