summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/vncExtInit.cc
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-11-07 12:51:34 +0000
committerPierre Ossman <ossman@cendio.se>2011-11-07 12:51:34 +0000
commit2aa4b0c49352472baa6c060371497377350a3d43 (patch)
treea225e653a1092fe1011a62222edc2ea9133c0b24 /unix/xserver/hw/vnc/vncExtInit.cc
parent714110ba26fab6c223221ef54a94e8562fa8e335 (diff)
downloadtigervnc-2aa4b0c49352472baa6c060371497377350a3d43.tar.gz
tigervnc-2aa4b0c49352472baa6c060371497377350a3d43.zip
Timers in RFB still weren't working properly. Do this right and check the next
timer just before the Xorg select() call. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4770 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/vncExtInit.cc')
-rw-r--r--unix/xserver/hw/vnc/vncExtInit.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/vncExtInit.cc b/unix/xserver/hw/vnc/vncExtInit.cc
index baa8fa4e..7d865ed1 100644
--- a/unix/xserver/hw/vnc/vncExtInit.cc
+++ b/unix/xserver/hw/vnc/vncExtInit.cc
@@ -1,4 +1,5 @@
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
+ * Copyright 2011 Pierre Ossman for Cendio AB
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -308,7 +309,7 @@ static void vncBlockHandler(pointer data, OSTimePtr timeout, pointer readmask)
for (int scr = 0; scr < screenInfo.numScreens; scr++)
if (desktop[scr])
- desktop[scr]->blockHandler(fds);
+ desktop[scr]->blockHandler(fds, timeout);
}
static void vncWakeupHandler(pointer data, int nfds, pointer readmask)