aboutsummaryrefslogtreecommitdiff
path: root/rootston/output.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-02-25 14:58:30 +0100
committerGuido Günther <agx@sigxcpu.org>2018-02-25 16:53:36 +0100
commit202a728ee9a0e7dbfbcc7e51e060a2a9a5f09847 (patch)
tree2413f7b2fe5c4a96f5298d32624c23ee9370f26b /rootston/output.c
parent9864f1c1361c196b33f524d917d7b5e5e10b0959 (diff)
rootstion: handle alpha in server side decorations
Diffstat (limited to 'rootston/output.c')
-rw-r--r--rootston/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c
index 8d968a98..3e954989 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -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 =