- fix local rendering of cursor (#495457)
This commit is contained in:
parent
d169aee818
commit
2a0786b6b4
@ -1,6 +1,6 @@
|
|||||||
Name: tigervnc
|
Name: tigervnc
|
||||||
Version: 0.0.91
|
Version: 0.0.91
|
||||||
Release: 0.11%{?dist}
|
Release: 0.12%{?dist}
|
||||||
Summary: A TigerVNC remote display system
|
Summary: A TigerVNC remote display system
|
||||||
|
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
@ -38,6 +38,7 @@ Obsoletes: tightvnc < 1.5.0-0.15.20090204svn3586
|
|||||||
Patch0: tigervnc-102434.patch
|
Patch0: tigervnc-102434.patch
|
||||||
Patch4: tigervnc-cookie.patch
|
Patch4: tigervnc-cookie.patch
|
||||||
Patch8: tigervnc-viewer-reparent.patch
|
Patch8: tigervnc-viewer-reparent.patch
|
||||||
|
Patch9: tigervnc10-rh495457.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtual Network Computing (VNC) is a remote display system which
|
Virtual Network Computing (VNC) is a remote display system which
|
||||||
@ -95,6 +96,7 @@ popd
|
|||||||
%patch0 -p1 -b .102434
|
%patch0 -p1 -b .102434
|
||||||
%patch4 -p1 -b .cookie
|
%patch4 -p1 -b .cookie
|
||||||
%patch8 -p1 -b .viewer-reparent
|
%patch8 -p1 -b .viewer-reparent
|
||||||
|
%patch9 -p0 -b .rh495457
|
||||||
|
|
||||||
# Use newer gettext
|
# Use newer gettext
|
||||||
sed -i 's/AM_GNU_GETTEXT_VERSION.*/AM_GNU_GETTEXT_VERSION([0.17])/' \
|
sed -i 's/AM_GNU_GETTEXT_VERSION.*/AM_GNU_GETTEXT_VERSION([0.17])/' \
|
||||||
@ -230,6 +232,9 @@ fi
|
|||||||
%{_libdir}/xorg/modules/extensions/libvnc.so
|
%{_libdir}/xorg/modules/extensions/libvnc.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jun 18 2009 Adam Tkac <atkac redhat com> 0.0.91-0.11
|
||||||
- update to 0.0.91 (1.0.0 RC1)
|
- update to 0.0.91 (1.0.0 RC1)
|
||||||
- patches merged
|
- patches merged
|
||||||
|
28
tigervnc10-rh495457.patch
Normal file
28
tigervnc10-rh495457.patch
Normal file
@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user