On Mon, Jun 22, 2009 at 01:07:48PM +0200, Pierre Ossman wrote:
> The code has a fallback option of rendering the cursor on the local
> framebuffer when it cannot convert it to a X11 cursor. This got broken
> when we did the "double buffering" stuff. Apparently OSXvnc needs this
> fallback.
>
> Should be applied on 1_0.
>
> Index: unix/vncviewer/DesktopWindow.cxx
> ===================================================================
> --- unix/vncviewer/DesktopWindow.cxx (revision 3832)
> +++ unix/vncviewer/DesktopWindow.cxx (working copy)
> @@ -216,6 +216,7 @@
> if (cursorVisible) {
> cursorVisible = false;
> im->imageRect(cursorBackingRect, cursorBacking.data);
> + damageRect(cursorBackingRect);
> }
> }
>
> @@ -237,6 +238,7 @@
> im->getImage(cursorBacking.data, cursorBackingRect);
>
> im->maskRect(cursorRect, cursor.data, cursor.mask.buf);
> + damageRect(cursorBackingRect);
> }
> }
>
> @@ -355,6 +357,7 @@
> cursorPos = pos;
> showLocalCursor();
> }
> + updateWindow();
> }
> }
> }
>
Patch is correct, please apply it.
Regards, Adam
--
Adam Tkac, Red Hat, Inc.
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Tigervnc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel