mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 13:05:59 +01:00
rootstion: handle alpha in server side decorations
This commit is contained in:
parent
9864f1c136
commit
202a728ee9
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ static void render_decorations(struct roots_view *view,
|
|||
float matrix[16];
|
||||
wlr_matrix_project_box(&matrix, &box, WL_OUTPUT_TRANSFORM_NORMAL,
|
||||
view->rotation, &output->wlr_output->transform_matrix);
|
||||
float color[] = { 0.2, 0.2, 0.2, 1 };
|
||||
float color[] = { 0.2, 0.2, 0.2, view->alpha };
|
||||
|
||||
int nrects;
|
||||
pixman_box32_t *rects =
|
||||
|
|
Loading…
Reference in a new issue