[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/krfb/libvncserver
From: Tim Jansen <tim () tjansen ! de>
Date: 2004-04-19 19:21:29
Message-ID: 20040419192129.954AA9A44 () office ! kde ! org
[Download RAW message or body]
CVS commit by tjansen:
May solve #60229, thanks to Christian Krause.
M +3 -3 cursor.c 1.7
--- kdenetwork/krfb/libvncserver/cursor.c #1.6:1.7
@@ -249,6 +249,6 @@ rfbSendSoftCursor(rfbClientPtr cl, Bool
if ( cl->ublen + sizeof(rfbSoftCursorMove) +
- ((scNindex >= 0) ?
- (sizeof(rfbSoftCursorSetImage) + imgLen) : 0)) {
+ ((scNindex >= 0 && cursorWasChanged) ?
+ (sizeof(rfbSoftCursorSetImage) + imgLen) : 0) > UPDATE_BUF_SIZE) {
if (!rfbSendUpdateBuf(cl))
@@ -258,5 +258,5 @@ rfbSendSoftCursor(rfbClientPtr cl, Bool
saved_ublen = cl->ublen;
- if (scNindex >= 0) {
+ if (scNindex >= 0 && cursorWasChanged) {
rect.encoding = Swap32IfLE(rfbEncodingSoftCursor);
if (pCursor) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic