… | |
… | |
1000 | * Builds a pixmap of the same size as the terminal window that contains |
1000 | * Builds a pixmap of the same size as the terminal window that contains |
1001 | * the tiled portion of the root pixmap that is supposed to be covered by |
1001 | * the tiled portion of the root pixmap that is supposed to be covered by |
1002 | * our window. |
1002 | * our window. |
1003 | */ |
1003 | */ |
1004 | bool |
1004 | bool |
1005 | rxvt_term::make_transparency_pixmap () |
1005 | rxvt_term::render_root_image () |
1006 | { |
1006 | { |
1007 | bool ret = false; |
1007 | bool ret = false; |
1008 | |
1008 | |
1009 | /* root dimensions may change from call to call - but Display structure should |
1009 | /* root dimensions may change from call to call - but Display structure should |
1010 | * be always up-to-date, so let's use it : |
1010 | * be always up-to-date, so let's use it : |
… | |
… | |
1150 | bg_invalidate (); |
1150 | bg_invalidate (); |
1151 | # ifdef ENABLE_TRANSPARENCY |
1151 | # ifdef ENABLE_TRANSPARENCY |
1152 | if (bg_flags & BG_IS_TRANSPARENT) |
1152 | if (bg_flags & BG_IS_TRANSPARENT) |
1153 | { |
1153 | { |
1154 | /* we need to re-generate transparency pixmap in that case ! */ |
1154 | /* we need to re-generate transparency pixmap in that case ! */ |
1155 | if (make_transparency_pixmap ()) |
1155 | if (render_root_image ()) |
1156 | bg_flags |= BG_IS_VALID; |
1156 | bg_flags |= BG_IS_VALID; |
1157 | } |
1157 | } |
1158 | # endif |
1158 | # endif |
1159 | |
1159 | |
1160 | # ifdef BG_IMAGE_FROM_FILE |
1160 | # ifdef BG_IMAGE_FROM_FILE |