projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://netsw.org/x11/tools/desktop/xscreensaver-4.07.tar.gz
[xscreensaver]
/
utils
/
visual.c
diff --git
a/utils/visual.c
b/utils/visual.c
index c9f5f27817e3192c7b59c6ec6cbd4c5f42f62393..2e3b9a9619007a5605cc23b3649560b75b4dbfd2 100644
(file)
--- a/
utils/visual.c
+++ b/
utils/visual.c
@@
-429,13
+429,12
@@
has_writable_cells (Screen *screen, Visual *visual)
{
case GrayScale: /* Mappable grays. */
case PseudoColor: /* Mappable colors. */
{
case GrayScale: /* Mappable grays. */
case PseudoColor: /* Mappable colors. */
+ case DirectColor: /* Like TrueColor, but with three colormaps:
+ one each for red, green, and blue. */
return True;
case StaticGray: /* Fixed grays. */
case TrueColor: /* Fixed colors. */
return True;
case StaticGray: /* Fixed grays. */
case TrueColor: /* Fixed colors. */
- case StaticColor: /* (What's the difference again?) */
- case DirectColor: /* DirectColor visuals are like TrueColor, but have
- three colormaps - one for each component of RGB.
- Screw it. */
+ case StaticColor: /* Like PseudoColor with an unmodifiable colormap. */
return False;
default:
abort();
return False;
default:
abort();