Commit 68fd5296 authored by Roland Mainz's avatar Roland Mainz

Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=535 -

    Xprt should not annouce extensions which are not supported
parent 1af13123
/* $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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment