X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fxdpyinfo.c;h=7a0b07831c926c04d398f518aa0280a666c47e39;hb=0316d74da7982288abddd34e7a62698eb7f79965;hp=acce04438bb99a7de70e8eb183e5674c3c740dbd;hpb=72c1f4c1dc6ab07fe121a327ff1c30bf51ef74c1;p=xscreensaver diff --git a/driver/xdpyinfo.c b/driver/xdpyinfo.c index acce0443..7a0b0783 100644 --- a/driver/xdpyinfo.c +++ b/driver/xdpyinfo.c @@ -23,13 +23,15 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. * * Author: Jim Fulton, MIT X Consortium + * * GLX and Overlay support added by Jamie Zawinski , 11-Nov-99 * * To compile: - * cc -DHAVE_GLX glxdpyinfo.c -o glxdpyinfo -lGL -lX11 -lXext -lm + * cc -DHAVE_GLX xdpyinfo.c -o xdpyinfo -lGL -lX11 -lXext [-lXtst] -lm * * Other defines to consider: - * -DHAVE_XIE -DHAVE_XTEST -DHAVE_SYNC -DHAVE_XRECORD + * -DMITSHM -DHAVE_XDBE -DHAVE_XIE -DHAVE_XTEST -DHAVE_SYNC + * -DHAVE_XRECORD */ #include @@ -45,7 +47,9 @@ in this Software without prior written authorization from The Open Group. #ifdef HAVE_XSYNC #include #endif /* HAVE_XSYNC */ +#ifdef HAVE_XDBE #include +#endif /* HAVE_XDBE */ #ifdef HAVE_XRECORD #include #endif /* HAVE_XRECORD */ @@ -872,6 +876,7 @@ print_mitshm_info(dpy, extname) } #endif /* MITSHM */ +#ifdef HAVE_XDBE int print_dbe_info(dpy, extname) Display *dpy; @@ -901,6 +906,7 @@ print_dbe_info(dpy, extname) XdbeFreeVisualInfo(svi); return 1; } +#endif /* HAVE_XDBE */ #ifdef HAVE_XRECORD int @@ -948,7 +954,9 @@ ExtensionPrintInfo known_extensions[] = #ifdef HAVE_XTEST {XTestExtensionName, print_xtest_info, False}, #endif /* HAVE_XTEST */ +#ifdef HAVE_XDBE {"DOUBLE-BUFFER", print_dbe_info, False}, +#endif /* HAVE_XDBE */ #ifdef HAVE_XRECORD {"RECORD", print_record_info, False} #endif /* HAVE_XRECORD */