[vino/gnome-3-0] Fix cursor update logic, bug 617436



commit e1db2fefdf5349528c39ecbc2c9201a72e626461
Author: Oliver Gerlich <oliver gerlich gmx de>
Date:   Sun Apr 17 18:44:17 2011 +0200

    Fix cursor update logic, bug 617436

 server/libvncserver/cursor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/server/libvncserver/cursor.c b/server/libvncserver/cursor.c
index adcb9b3..5826f14 100644
--- a/server/libvncserver/cursor.c
+++ b/server/libvncserver/cursor.c
@@ -522,7 +522,7 @@ void rfbSetCursorPosition(rfbScreenInfoPtr screen, rfbClientPtr client, int x, i
     rfbClientIteratorPtr iterator;
     rfbClientPtr cl;
 
-    if (x == screen->cursorX || y == screen->cursorY)
+    if (x == screen->cursorX && y == screen->cursorY)
 	return;
 
     LOCK(screen->cursorMutex);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]