From 24ed17a742f342f34fe7ea3573ab1c00c0bd669e Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 22 Jun 2009 11:56:19 +0000 Subject: Fix rendering of cursor on local framebuffer. It was broken by r3717. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3856 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/vncviewer/DesktopWindow.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'unix') diff --git a/unix/vncviewer/DesktopWindow.cxx b/unix/vncviewer/DesktopWindow.cxx index 095f14fe..51f3b850 100644 --- a/unix/vncviewer/DesktopWindow.cxx +++ b/unix/vncviewer/DesktopWindow.cxx @@ -216,6 +216,7 @@ void DesktopWindow::hideLocalCursor() if (cursorVisible) { cursorVisible = false; im->imageRect(cursorBackingRect, cursorBacking.data); + damageRect(cursorBackingRect); } } @@ -237,6 +238,7 @@ void DesktopWindow::showLocalCursor() im->getImage(cursorBacking.data, cursorBackingRect); im->maskRect(cursorRect, cursor.data, cursor.mask.buf); + damageRect(cursorBackingRect); } } @@ -355,6 +357,7 @@ void DesktopWindow::handlePointerEvent(const Point& pos, int buttonMask) cursorPos = pos; showLocalCursor(); } + updateWindow(); } } } -- cgit v1.2.3