… | |
… | |
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; |
2543 | int shade = rs[Rs_shade] ? atoi (rs[Rs_shade]) : 100; |
2544 | |
2544 | |
2545 | rgba c; |
2545 | rgba c; |
2546 | pix_colors_focused [Color_tint].get (this, c); |
2546 | pix_colors_focused [Color_tint].get (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 | |
… | |
… | |
3572 | if (args[0] >= 24) /* set height (chars) */ |
3572 | if (args[0] >= 24) /* set height (chars) */ |
3573 | set_widthheight ((unsigned int)width, |
3573 | set_widthheight ((unsigned int)width, |
3574 | (unsigned int) (args[1] * fheight)); |
3574 | (unsigned int) (args[1] * fheight)); |
3575 | break; |
3575 | break; |
3576 | |
3576 | |
3577 | |
|
|
3578 | /* |
3577 | /* |
3579 | * reports - some output format copied from XTerm |
3578 | * reports - some output format copied from XTerm |
3580 | */ |
3579 | */ |
3581 | case 11: /* report window state */ |
3580 | case 11: /* report window state */ |
3582 | XGetWindowAttributes (xdisp, parent[0], &wattr); |
3581 | XGetWindowAttributes (xdisp, parent[0], &wattr); |
… | |
… | |
3720 | rxvt_term::process_color_seq (int report, int color, const char *str, char resp) |
3719 | rxvt_term::process_color_seq (int report, int color, const char *str, char resp) |
3721 | { |
3720 | { |
3722 | if (str[0] == '?' && !str[1]) |
3721 | if (str[0] == '?' && !str[1]) |
3723 | { |
3722 | { |
3724 | rgba c; |
3723 | rgba c; |
3725 | pix_colors_focused[color].get (this, c); |
3724 | pix_colors_focused[color].get (c); |
3726 | |
3725 | |
3727 | #if XFT |
3726 | #if XFT |
3728 | if (c.a != rgba::MAX_CC) |
3727 | if (c.a != rgba::MAX_CC) |
3729 | tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.a, c.r, c.g, c.b, resp); |
3728 | tt_printf ("\033]%d;rgba:%04x/%04x/%04x/%04x%c", report, c.a, c.r, c.g, c.b, resp); |
3730 | else |
3729 | else |