diff options
author | Pierre Ossman <ossman@cendio.se> | 2009-06-22 11:56:19 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2009-06-22 11:56:19 +0000 |
commit | 24ed17a742f342f34fe7ea3573ab1c00c0bd669e (patch) | |
tree | 9db74782abd10dba76630f74026d375566a83c7a /unix | |
parent | 89b003202c890f974b9e50569a41a5c3749da9cb (diff) | |
download | tigervnc-24ed17a742f342f34fe7ea3573ab1c00c0bd669e.tar.gz tigervnc-24ed17a742f342f34fe7ea3573ab1c00c0bd669e.zip |
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
Diffstat (limited to 'unix')
-rw-r--r-- | unix/vncviewer/DesktopWindow.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } } } |