Keep pointer in sync when using module (upstream bug #152).
This commit is contained in:
parent
97b7a0c24d
commit
70f6b2285b
18
tigervnc-pointersync.patch
Normal file
18
tigervnc-pointersync.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff -up tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc.pointersync tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc
|
||||||
|
--- tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc.pointersync 2013-07-01 13:41:24.000000000 +0100
|
||||||
|
+++ tigervnc-1.3.0/unix/xserver/hw/vnc/Input.cc 2014-05-22 11:47:16.707816457 +0100
|
||||||
|
@@ -197,6 +197,14 @@ void InputDevice::PointerMove(const rfb:
|
||||||
|
|
||||||
|
void InputDevice::PointerSync(void)
|
||||||
|
{
|
||||||
|
+ if (initialized) {
|
||||||
|
+ int x, y;
|
||||||
|
+
|
||||||
|
+ GetSpritePosition (pointerDev, &x, &y);
|
||||||
|
+ cursorPos.x = x;
|
||||||
|
+ cursorPos.y = y;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (cursorPos.equals(oldCursorPos))
|
||||||
|
return;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: tigervnc
|
Name: tigervnc
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: A TigerVNC remote display system
|
Summary: A TigerVNC remote display system
|
||||||
|
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
@ -49,6 +49,7 @@ Patch9: tigervnc-shebang.patch
|
|||||||
Patch12: tigervnc-zrle-crash.patch
|
Patch12: tigervnc-zrle-crash.patch
|
||||||
Patch13: tigervnc-cursor.patch
|
Patch13: tigervnc-cursor.patch
|
||||||
Patch14: tigervnc-CVE-2014-0011.patch
|
Patch14: tigervnc-CVE-2014-0011.patch
|
||||||
|
Patch15: tigervnc-pointersync.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Virtual Network Computing (VNC) is a remote display system which
|
Virtual Network Computing (VNC) is a remote display system which
|
||||||
@ -180,6 +181,9 @@ popd
|
|||||||
# Fixed heap-based buffer overflow (CVE-2014-0011, bug #1050928).
|
# Fixed heap-based buffer overflow (CVE-2014-0011, bug #1050928).
|
||||||
%patch14 -p1 -b .CVE-2014-0011
|
%patch14 -p1 -b .CVE-2014-0011
|
||||||
|
|
||||||
|
# Keep pointer in sync when using module (upstream bug #152).
|
||||||
|
%patch15 -p1 -b .pointersync
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch sparcv9 sparc64 s390 s390x
|
%ifarch sparcv9 sparc64 s390 s390x
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||||
@ -348,6 +352,9 @@ fi
|
|||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 22 2014 Tim Waugh <twaugh@redhat.com> 1.3.0-11
|
||||||
|
- Keep pointer in sync when using module (upstream bug #152).
|
||||||
|
|
||||||
* Wed Mar 19 2014 Tim Waugh <twaugh@redhat.com> 1.3.0-10
|
* Wed Mar 19 2014 Tim Waugh <twaugh@redhat.com> 1.3.0-10
|
||||||
- Fixed heap-based buffer overflow (CVE-2014-0011, bug #1050928).
|
- Fixed heap-based buffer overflow (CVE-2014-0011, bug #1050928).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user