25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: x11.c,v 1.58 2005/05/20 22:35:59 debug Exp $ |
* $Id: x11.c,v 1.59 2005/06/20 05:52:47 debug Exp $ |
29 |
* |
* |
30 |
* X11-related functions. |
* X11-related functions. |
31 |
*/ |
*/ |
456 |
debug("WARNING! X11 screen depth is not enough for color; " |
debug("WARNING! X11 screen depth is not enough for color; " |
457 |
"using only 16 grayscales instead\n"); |
"using only 16 grayscales instead\n"); |
458 |
|
|
459 |
strcpy(bg, "Black"); |
strlcpy(bg, "Black", sizeof(bg)); |
460 |
strcpy(fg, "White"); |
strlcpy(fg, "White", sizeof(fg)); |
461 |
|
|
462 |
XParseColor(x11_display, DefaultColormap(x11_display, |
XParseColor(x11_display, DefaultColormap(x11_display, |
463 |
m->fb_windows[fb_number]->x11_screen), fg, &tmpcolor); |
m->fb_windows[fb_number]->x11_screen), fg, &tmpcolor); |