… | |
… | |
2462 | 0L, 1L, False, XA_PIXMAP, &atype, &aformat, |
2462 | 0L, 1L, False, XA_PIXMAP, &atype, &aformat, |
2463 | &nitems, &bytes_after, &prop) == Success); |
2463 | &nitems, &bytes_after, &prop) == Success); |
2464 | |
2464 | |
2465 | if (!i || prop == NULL |
2465 | if (!i || prop == NULL |
2466 | #if TINTING |
2466 | #if TINTING |
2467 | || !rs[Rs_color + Color_tint] |
2467 | || !ISSET_PIXCOLOR (Color_tint) |
2468 | #endif |
2468 | #endif |
2469 | ) |
2469 | ) |
2470 | have_pixmap = 0; |
2470 | have_pixmap = 0; |
2471 | else |
2471 | else |
2472 | { |
2472 | { |
… | |
… | |
2538 | XFreePixmap (xdisp, pixmap); |
2538 | XFreePixmap (xdisp, pixmap); |
2539 | |
2539 | |
2540 | #if TINTING |
2540 | #if TINTING |
2541 | if (ISSET_PIXCOLOR (Color_tint)) |
2541 | if (ISSET_PIXCOLOR (Color_tint)) |
2542 | { |
2542 | { |
|
|
2543 | int shade = rs[Rs_shade] ? atoi (rs[Rs_shade]) : 100; |
|
|
2544 | |
2543 | rxvt_rgba c; |
2545 | rxvt_rgba c; |
2544 | int shade = rs[Rs_shade] ? atoi (rs[Rs_shade]) : 100; |
|
|
2545 | |
|
|
2546 | pix_colors_focused[Color_tint].get (this, c); |
2546 | pix_colors_focused [Color_tint].get (this, c); |
2547 | |
2547 | |
2548 | ShadeXImage (this, image, shade, c.r, c.g, c.b); |
2548 | ShadeXImage (this, image, shade, c.r, c.g, c.b); |
2549 | } |
2549 | } |
2550 | #endif |
2550 | #endif |
2551 | |
2551 | |
… | |
… | |
3853 | break; |
3853 | break; |
3854 | #endif |
3854 | #endif |
3855 | #if TRANSPARENT && TINTING |
3855 | #if TRANSPARENT && TINTING |
3856 | case URxvt_Color_tint: |
3856 | case URxvt_Color_tint: |
3857 | process_color_seq (op, Color_tint, str, resp); |
3857 | process_color_seq (op, Color_tint, str, resp); |
|
|
3858 | |
3858 | check_our_parents (); |
3859 | check_our_parents (); |
|
|
3860 | |
3859 | if (am_transparent) |
3861 | if (am_transparent) |
3860 | want_full_refresh = want_refresh = 1; |
3862 | want_full_refresh = want_refresh = 1; |
|
|
3863 | |
3861 | break; |
3864 | break; |
3862 | #endif |
3865 | #endif |
3863 | |
3866 | |
3864 | case Rxvt_Pixmap: |
3867 | case Rxvt_Pixmap: |
3865 | { |
3868 | { |