rpms/tigervnc/devel tigervnc10-rh495457.patch, NONE, 1.1 tigervnc.spec, 1.11, 1.12

Adam Tkac atkac at fedoraproject.org
Mon Jun 22 11:56:30 UTC 2009


Author: atkac

Update of /cvs/pkgs/rpms/tigervnc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8063

Modified Files:
	tigervnc.spec 
Added Files:
	tigervnc10-rh495457.patch 
Log Message:
- fix local rendering of cursor (#495457)


tigervnc10-rh495457.patch:

--- NEW FILE tigervnc10-rh495457.patch ---
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();
     }
   }
 }


Index: tigervnc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tigervnc/devel/tigervnc.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- tigervnc.spec	18 Jun 2009 11:26:49 -0000	1.11
+++ tigervnc.spec	22 Jun 2009 11:55:58 -0000	1.12
@@ -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.2009020
 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 <atkac redhat com> 0.0.91-0.12
+- fix local rendering of cursor (#495457)
+
 * Thu Jun 18 2009 Adam Tkac <atkac redhat com> 0.0.91-0.11
 - update to 0.0.91 (1.0.0 RC1)
 - patches merged




More information about the fedora-extras-commits mailing list