… | |
… | |
554 | } |
554 | } |
555 | else |
555 | else |
556 | { |
556 | { |
557 | /* if blending background and image - pixmap has to be sized same as target window */ |
557 | /* if blending background and image - pixmap has to be sized same as target window */ |
558 | ASImageLayer *layers = create_image_layers (2); |
558 | ASImageLayer *layers = create_image_layers (2); |
559 | ASImage *merged_im = NULL; |
|
|
560 | |
559 | |
561 | layers[0].im = background; |
560 | layers[0].im = background; |
562 | layers[0].clip_width = target_width; |
561 | layers[0].clip_width = target_width; |
563 | layers[0].clip_height = target_height; |
562 | layers[0].clip_height = target_height; |
564 | layers[0].tint = background_tint; |
563 | layers[0].tint = background_tint; |