X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Foverlay.c;h=7277fd03b87fa09ceccdee98b8b0cc92bf15a3b5;hb=06e9a7886a77cad92f9ddbc169d6d199a4d8b76d;hp=0d82419b807b31d4b8b0845f9a52e6240c525612;hpb=f3e0240915ed9f9b3a61781f5c7002d587563fe0;p=xscreensaver diff --git a/utils/overlay.c b/utils/overlay.c index 0d82419b..7277fd03 100644 --- a/utils/overlay.c +++ b/utils/overlay.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1997 Jamie Zawinski +/* xscreensaver, Copyright (c) 1997 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 @@ -20,11 +20,18 @@ is that the topmost one only has 2 planes, while the next one has 8. Rumor has it that SGI, HP, DEC, and IBM all use the same mechanism. + Does Sun? This code selects the topmost one, regardless of depth. Maybe that's not the right thing. Well, in XScreenSaver, we only need to allocate two colors from it (it's only used to display the stderr output, so that the text can overlay the graphics without being obliterated by it.) + + Documentation, such as it is, on SERVER_OVERLAY_VISUALS found on the web: + + http://www.hp.com/xwindow/sharedInfo/Whitepapers/Visuals/server_overlay_visuals.html + http://www.xig.com/Pages/Ed-Overlays.html + */