… | |
… | |
2108 | delete img; |
2108 | delete img; |
2109 | img = img2; |
2109 | img = img2; |
2110 | } |
2110 | } |
2111 | |
2111 | |
2112 | { |
2112 | { |
2113 | rxvt_img *img2 = img->convert_to (XRenderFindVisualFormat (THIS->dpy, THIS->visual), THIS->pix_colors [Color_bg]); |
2113 | rxvt_img *img2 = img->convert_format (XRenderFindVisualFormat (THIS->dpy, THIS->visual), THIS->pix_colors [Color_bg]); |
|
|
2114 | delete img; |
|
|
2115 | img = img2; |
|
|
2116 | } |
|
|
2117 | |
|
|
2118 | { |
|
|
2119 | // just in case, should usually be a nop |
|
|
2120 | rxvt_img *img2 = img->reify (); |
2114 | delete img; |
2121 | delete img; |
2115 | img = img2; |
2122 | img = img2; |
2116 | } |
2123 | } |
2117 | |
2124 | |
2118 | THIS->bg_pixmap = img->steal (); |
2125 | THIS->bg_pixmap = img->steal (); |