[vino] Fix cursor update logic, bug 617436
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vino] Fix cursor update logic, bug 617436
- Date: Sun, 17 Apr 2011 16:45:01 +0000 (UTC)
commit c11f8e5bdd7948df98a58d2234bfced0569d57ba
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]