… | |
… | |
507 | if (!mapped) |
507 | if (!mapped) |
508 | return; |
508 | return; |
509 | |
509 | |
510 | # if BG_IMAGE_FROM_ROOT |
510 | # if BG_IMAGE_FROM_ROOT |
511 | if (option (Opt_transparent)) |
511 | if (option (Opt_transparent)) |
512 | { |
|
|
513 | /* we need to re-generate transparency pixmap in that case ! */ |
|
|
514 | if (render_root_image ()) |
512 | if (render_root_image ()) |
515 | bg_flags |= BG_IS_VALID | BG_IS_TRANSPARENT; |
513 | bg_flags |= BG_IS_TRANSPARENT; |
516 | } |
|
|
517 | # endif |
514 | # endif |
518 | |
515 | |
519 | # if BG_IMAGE_FROM_FILE |
516 | # if BG_IMAGE_FROM_FILE |
520 | if (fimage.img) |
517 | if (fimage.img) |
521 | { |
|
|
522 | if (render_image (fimage)) |
518 | render_image (fimage); |
523 | bg_flags |= BG_IS_VALID; |
|
|
524 | } |
|
|
525 | # endif |
519 | # endif |
526 | |
520 | |
527 | scr_recolour (false); |
521 | scr_recolour (false); |
528 | bg_flags |= BG_NEEDS_REFRESH; |
522 | bg_flags |= BG_NEEDS_REFRESH; |
529 | |
523 | |