diff options
author | runge <runge> | 2006-12-28 05:24:25 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-28 05:24:25 +0000 |
commit | 56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18 (patch) | |
tree | 34da978baeba2c625611bcaaf8cba8571ab00f8b /x11vnc/pointer.c | |
parent | 8aa6fb9523957c7f4a3f14fb2c90ea9f9292a41f (diff) | |
download | libtdevnc-56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18.tar.gz libtdevnc-56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18.zip |
x11vnc: more work on -ncache.
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r-- | x11vnc/pointer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c index 83e49d8..df7064b 100644 --- a/x11vnc/pointer.c +++ b/x11vnc/pointer.c @@ -816,7 +816,7 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { } if (debug_pointer) { rfbLog("pointer(): sending event %d %.4f\n", - i+1, dnow() - x11vnc_start); + i+1, dnowx()); } if (ev[i][1] >= 0) { update_x11_pointer_position(ev[i][1], ev[i][2]); @@ -836,7 +836,7 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { if (mask < 0) { if (debug_pointer) { rfbLog("pointer(): calling XFlush " - "%.4f\n", dnow() - x11vnc_start); + "%.4f\n", dnowx()); } X_LOCK; XFlush_wr(dpy); @@ -853,7 +853,7 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { if (mask < 0) { /* -1 just means flush the event queue */ if (debug_pointer) { rfbLog("pointer(): flush only. %.4f\n", - dnow() - x11vnc_start); + dnowx()); } return; } @@ -885,7 +885,7 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { } else if (buffer_it) { if (debug_pointer) { rfbLog("pointer(): calling XFlush+" - "%.4f\n", dnow() - x11vnc_start); + "%.4f\n", dnowx()); } X_LOCK; XFlush_wr(dpy); |