aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.h
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/XserverDesktop.h
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/XserverDesktop.h')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index af365117..fd0773ca 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -1,4 +1,5 @@
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
+ * Copyright 2009-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
@@ -70,7 +71,7 @@ public:
void add_changed(RegionPtr reg);
void add_copied(RegionPtr dst, int dx, int dy);
void ignoreHooks(bool b) { ignoreHooks_ = b; }
- void blockHandler(fd_set* fds);
+ void blockHandler(fd_set* fds, OSTimePtr timeout);
void wakeupHandler(fd_set* fds, int nfds);
void writeBlockHandler(fd_set* fds);
void writeWakeupHandler(fd_set* fds, int nfds);