From 202a728ee9a0e7dbfbcc7e51e060a2a9a5f09847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sun, 25 Feb 2018 14:58:30 +0100 Subject: [PATCH] rootstion: handle alpha in server side decorations --- rootston/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =