aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-02-26 19:04:57 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-02-26 19:04:57 -0500
commit4b781356a4501ea6fc648f3d3a4abcd061bf51cd (patch)
tree5e7983110ea24348f0873453f83376ea50584f9f /sway/desktop
parentRevert "Multiple output coords by scale" (diff)
downloadsway-4b781356a4501ea6fc648f3d3a4abcd061bf51cd.tar.gz
sway-4b781356a4501ea6fc648f3d3a4abcd061bf51cd.tar.zst
sway-4b781356a4501ea6fc648f3d3a4abcd061bf51cd.zip
Fix wlr_render_with_matrix call
This takes an alpha parameter now.
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 63420d0c..08fe5877 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -63,7 +63,7 @@ static void render_surface(struct wlr_surface *surface,
63 wlr_matrix_project_box(&matrix, &render_box, 63 wlr_matrix_project_box(&matrix, &render_box,
64 surface->current->transform, 0, &wlr_output->transform_matrix); 64 surface->current->transform, 0, &wlr_output->transform_matrix);
65 wlr_render_with_matrix(server.renderer, surface->texture, 65 wlr_render_with_matrix(server.renderer, surface->texture,
66 &matrix); 66 &matrix, 1.0f); // TODO: configurable alpha
67 67
68 wlr_surface_send_frame_done(surface, when); 68 wlr_surface_send_frame_done(surface, when);
69 } 69 }