diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-04-21 23:24:20 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-04-21 23:24:20 +0000 |
commit | 68fd529608c58334f13beb88dbcc1d5db85b9b00 (patch) | |
tree | c3ccd544d3f9d4977c08615680960e5acefa0a57 | |
parent | 1af13123fa79ad1c6747aad60ed458bbd69da12d (diff) |
Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=535 -XORG-CURRENT-CLOSED
Xprt should not annouce extensions which are not supported
-rw-r--r-- | mi/miinitext.c | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/mi/miinitext.c b/mi/miinitext.c index 8d28c181a..ab452e10f 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -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 |