# | Line 120 | Line 120 | char *name, *id; | |
---|---|---|
120 | /* find a usable visual */ | |
121 | nplanes = DisplayPlanes(ourdisplay, ourscreen); | |
122 | if (XMatchVisualInfo(ourdisplay,ourscreen, | |
123 | < | 24,TrueColor,&ourvinfo) || |
123 | > | nplanes>12?nplanes:24,TrueColor,&ourvinfo) || |
124 | XMatchVisualInfo(ourdisplay,ourscreen, | |
125 | < | 24,DirectColor,&ourvinfo)) { |
125 | > | nplanes>12?nplanes:24,DirectColor,&ourvinfo)) { |
126 | ourblack = 0; | |
127 | ourwhite = ourvinfo.red_mask | | |
128 | ourvinfo.green_mask | |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |