aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/x11/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index ea7ccca9..517ea85b 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -255,6 +255,7 @@ static struct wlr_x11_buffer *create_x11_buffer(struct wlr_x11_output *output,
return NULL;
}
buffer->buffer = wlr_buffer_lock(wlr_buffer);
+ buffer->n_busy = 1;
buffer->pixmap = pixmap;
buffer->x11 = x11;
wl_list_insert(&output->buffers, &buffer->link);