Merge branch 'scene-transparent-bg' into 'master'

Draft: scene: use transparent black as background color

See merge request wlroots/wlroots!5109
This commit is contained in:
Simon Ser 2026-03-09 19:37:34 +00:00
commit ad5036808f

View file

@ -2545,7 +2545,7 @@ bool wlr_scene_output_build_state(struct wlr_scene_output *scene_output,
wlr_render_pass_add_rect(render_pass, &(struct wlr_render_rect_options){
.box = { .width = buffer->width, .height = buffer->height },
.color = { .r = 0, .g = 0, .b = 0, .a = 1 },
.color = { .r = 0, .g = 0, .b = 0, .a = 0 },
.clip = &background,
});
pixman_region32_fini(&background);