From 2a0786b6b42cc5fa3b0b763d2560c451329667dd Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Jun 22 2009 11:55:59 +0000 Subject: - fix local rendering of cursor (#495457) --- diff --git a/tigervnc.spec b/tigervnc.spec index e79aad5..c310909 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -1,6 +1,6 @@ Name: tigervnc Version: 0.0.91 -Release: 0.11%{?dist} +Release: 0.12%{?dist} Summary: A TigerVNC remote display system Group: User Interface/Desktops @@ -38,6 +38,7 @@ Obsoletes: tightvnc < 1.5.0-0.15.20090204svn3586 Patch0: tigervnc-102434.patch Patch4: tigervnc-cookie.patch Patch8: tigervnc-viewer-reparent.patch +Patch9: tigervnc10-rh495457.patch %description Virtual Network Computing (VNC) is a remote display system which @@ -95,6 +96,7 @@ popd %patch0 -p1 -b .102434 %patch4 -p1 -b .cookie %patch8 -p1 -b .viewer-reparent +%patch9 -p0 -b .rh495457 # Use newer gettext sed -i 's/AM_GNU_GETTEXT_VERSION.*/AM_GNU_GETTEXT_VERSION([0.17])/' \ @@ -230,6 +232,9 @@ fi %{_libdir}/xorg/modules/extensions/libvnc.so %changelog +* Mon Jun 22 2009 Adam Tkac 0.0.91-0.12 +- fix local rendering of cursor (#495457) + * Thu Jun 18 2009 Adam Tkac 0.0.91-0.11 - update to 0.0.91 (1.0.0 RC1) - patches merged diff --git a/tigervnc10-rh495457.patch b/tigervnc10-rh495457.patch new file mode 100644 index 0000000..35713ba --- /dev/null +++ b/tigervnc10-rh495457.patch @@ -0,0 +1,28 @@ +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(); + } + } + }