mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
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:
commit
ad5036808f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue