… | |
… | |
981 | i = atoi (color); |
981 | i = atoi (color); |
982 | |
982 | |
983 | if (i >= 8 && i <= 15) |
983 | if (i >= 8 && i <= 15) |
984 | { |
984 | { |
985 | /* bright colors */ |
985 | /* bright colors */ |
986 | i -= 8; |
|
|
987 | pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i]; |
986 | pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i - 8]; |
988 | goto done; |
987 | goto done; |
989 | } |
988 | } |
990 | |
989 | |
991 | if (i >= 0 && i <= 7) |
990 | if (i >= 0 && i <= 7) |
992 | { |
991 | { |
… | |
… | |
1746 | } |
1745 | } |
1747 | |
1746 | |
1748 | #ifdef HAVE_BG_PIXMAP |
1747 | #ifdef HAVE_BG_PIXMAP |
1749 | # if TRACE_PIXMAPS |
1748 | # if TRACE_PIXMAPS |
1750 | # undef update_background |
1749 | # undef update_background |
1751 | int rxvt_term::trace_update_background (const char* file, int line) |
1750 | int rxvt_term::trace_update_background (const char *file, int line) |
1752 | { |
1751 | { |
1753 | fprintf (stderr, "%s:%d:update_background()\n", file, line); |
1752 | fprintf (stderr, "%s:%d:update_background()\n", file, line); |
1754 | update_background (); |
1753 | update_background (); |
1755 | } |
1754 | } |
1756 | # endif |
1755 | # endif |
|
|
1756 | |
1757 | int |
1757 | int |
1758 | rxvt_term::update_background () |
1758 | rxvt_term::update_background () |
1759 | { |
1759 | { |
1760 | bgPixmap.invalidate (); |
1760 | bgPixmap.invalidate (); |
1761 | |
1761 | |