diff options
author | dscho <dscho> | 2005-12-19 19:45:51 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-12-19 19:45:51 +0000 |
commit | 1c26789eff7b22518fcfb942e3d5a36758fdca19 (patch) | |
tree | 0891f60a4ca30fe031ae6c7090251c1d750e970a /rfb/rfb.h | |
parent | 1b81e342cbed1b620dec7065b1c06b47df0b6d92 (diff) | |
download | libtdevnc-1c26789eff7b22518fcfb942e3d5a36758fdca19.tar.gz libtdevnc-1c26789eff7b22518fcfb942e3d5a36758fdca19.zip |
introduce -deferptrupdate (thanks Dave)
Diffstat (limited to 'rfb/rfb.h')
-rw-r--r-- | rfb/rfb.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -62,8 +62,10 @@ extern "C" #define TINI_COND(cond) (rfbLog("%s:%d TINI_COND(%s)\n",__FILE__,__LINE__,#cond), pthread_cond_destroy(&(cond))) #define IF_PTHREADS(x) x #else +#if !NONETWORK #define LOCK(mutex) pthread_mutex_lock(&(mutex)); #define UNLOCK(mutex) pthread_mutex_unlock(&(mutex)); +#endif #define MUTEX(mutex) pthread_mutex_t (mutex) #define INIT_MUTEX(mutex) pthread_mutex_init(&(mutex),NULL) #define TINI_MUTEX(mutex) pthread_mutex_destroy(&(mutex)) @@ -307,6 +309,7 @@ typedef struct _rfbScreenInfo int progressiveSliceHeight; in_addr_t listenInterface; + int deferPtrUpdateTime; } rfbScreenInfo, *rfbScreenInfoPtr; @@ -418,6 +421,10 @@ typedef struct _rfbClientRec { into a single update. */ struct timeval startDeferring; + struct timeval startPtrDeferring; + int lastPtrX; + int lastPtrY; + int lastPtrButtons; /* translateFn points to the translation function which is used to copy and translate a rectangle from the framebuffer to an output buffer. */ |