aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-19 14:08:47 +0100
committeremersion <contact@emersion.fr>2018-01-19 14:08:47 +0100
commite29a0df8c14fdc5038e64de4a1ad08a7de8fd7fc (patch)
treec5e548301ffa56659153f7e4f3d4e3426f581d82 /rootston
parentb296481007f79481a90a82f3dee3aead2883d00c (diff)
output: fix software cursors damage tracking
Diffstat (limited to 'rootston')
-rw-r--r--rootston/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c
index a1448917..93d74703 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -374,7 +374,7 @@ static void render_output(struct roots_output *output) {
renderer_end:
glDisable(GL_SCISSOR_TEST);
wlr_renderer_end(server->renderer);
- wlr_output_swap_buffers(wlr_output);
+ wlr_output_swap_buffers(wlr_output, &now, &damage);
output->frame_scheduled = true;
pixman_region32_copy(&output->previous_damage, &output->damage);
pixman_region32_clear(&output->damage);