aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drv_vnc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drv_vnc.c b/drv_vnc.c
index e9bc1fa..72051f0 100644
--- a/drv_vnc.c
+++ b/drv_vnc.c
@@ -144,9 +144,9 @@ static void drv_vnc_blit(const int row, const int col, const int height, const i
if (rfbIsActive(server)) {
drv_vnc_blit_it(row, col, height, width, (unsigned char *) server->frameBuffer);
- if (clientCount > 0) {
+ if (clientCount > 0) {
rfbMarkRectAsModified(server, 0, 0, xres, yres);
- }
+ }
rfbProcessEvents(server, server->deferUpdateTime * 1000);
}
}