From 319b264568092a03b1179295c413c0db32f3ca7c Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Fri, 10 Jul 2020 10:07:18 +0000 Subject: [PATCH] Add TODO about watching buffer release event --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 1fefbdf..4810b58 100644 --- a/src/main.c +++ b/src/main.c @@ -314,6 +314,9 @@ rfbBool rfb_client_alloc_fb(rfbClient* cl) void rfb_client_update_box(rfbClient* cl, int x, int y, int width, int height) { + // TODO: Make sure that the buffer is released at this point, or make + // this a side-buffer and copy damaged regions into double buffers. + if (!window->is_attached) window_attach(window, 0, 0);