X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Ffade.c;h=186bc89cda88b8b158cb0ede47f61290b9bbe464;hb=82c5080773aae5e72ec155327c075775e023d2ee;hp=9622c31e86b021f3dffbace03c188735481f6416;hpb=6bb727f03bff0389fbb1349d7df4c9d8d7532959;p=xscreensaver diff --git a/utils/fade.c b/utils/fade.c index 9622c31e..186bc89c 100644 --- a/utils/fade.c +++ b/utils/fade.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992-1998 Jamie Zawinski +/* xscreensaver, Copyright (c) 1992-1998 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -140,7 +140,7 @@ fade_screens (Display *dpy, Colormap *cmaps, Window *black_windows, that all screens really go black. I'm told that this trick also works with XInside's AcceleratedX when using - the Matrox Millenium card (which also allows multiple PseudoColor and + the Matrox Millennium card (which also allows multiple PseudoColor and TrueColor visuals to co-exist and display properly at the same time.) This trick works ok on the 24-bit Indy video hardware, but doesn't work at @@ -518,8 +518,8 @@ sgi_gamma_fade (Display *dpy, for (screen = 0; screen < nscreens; screen++) { if (clear_windows) - XClearWindow (dpy, black_windows[i]); - XMapRaised (dpy, black_windows[i]); + XClearWindow (dpy, black_windows[screen]); + XMapRaised (dpy, black_windows[screen]); } XSync(dpy, False); }