rpms/gtk-vnc/F-12 gtk-vnc-resize-refresh.patch, NONE, 1.1 gtk-vnc.spec, 1.37, 1.38
Matthias Clasen
mclasen at fedoraproject.org
Thu Oct 8 18:35:31 UTC 2009
Author: mclasen
Update of /cvs/pkgs/rpms/gtk-vnc/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28944
Modified Files:
gtk-vnc.spec
Added Files:
gtk-vnc-resize-refresh.patch
Log Message:
Fix visual corruption when changing screen resolution.
gtk-vnc-resize-refresh.patch:
gvnc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE gtk-vnc-resize-refresh.patch ---
>From 178d7e5a774b8cec1f47b6ae21b2c46e2608d560 Mon Sep 17 00:00:00 2001
From: Jonh Wendell <jwendell at gnome.org>
Date: Mon, 5 Oct 2009 17:01:23 -0300
Subject: [PATCH] Request a full screen refresh when receives a desktop-resize encoding.
---
src/gvnc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gvnc.c b/src/gvnc.c
index f15d0fa..53be410 100644
--- a/src/gvnc.c
+++ b/src/gvnc.c
@@ -2179,6 +2179,7 @@ static void gvnc_framebuffer_update(struct gvnc *gvnc, int32_t etype,
gvnc_update(gvnc, x, y, width, height);
break;
case GVNC_ENCODING_DESKTOP_RESIZE:
+ gvnc_framebuffer_update_request (gvnc, 0, 0, 0, width, height);
gvnc_resize(gvnc, width, height);
break;
case GVNC_ENCODING_POINTER_CHANGE:
--
1.6.0.4
Index: gtk-vnc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk-vnc/F-12/gtk-vnc.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- gtk-vnc.spec 11 Aug 2009 13:49:35 -0000 1.37
+++ gtk-vnc.spec 8 Oct 2009 18:35:31 -0000 1.38
@@ -7,10 +7,14 @@
Summary: A GTK widget for VNC clients
Name: gtk-vnc
Version: 0.3.9
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.bz2
+
+# fixed upstream: https://bugzilla.gnome.org/show_bug.cgi?id=585571
+Patch0: gtk-vnc-resize-refresh.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://live.gnome.org/gtk-vnc
BuildRequires: gtk2-devel pygtk2-devel python-devel zlib-devel
@@ -67,6 +71,7 @@ browsers.
%prep
%setup -q
+%patch0 -p1 -b .resize-refresh
%build
%if %{with_plugin}
@@ -120,6 +125,9 @@ rm -fr %{buildroot}
%endif
%changelog
+* Thu Oct 8 2009 Matthias Clasen <mclaesn at redhat.com> - 0.3.9-2
+- Request a full screen refresh when receives a desktop-resize encoding
+
* Tue Aug 11 2009 Daniel P. Berrange <berrange at redhat.com> - 0.3.9-1
- Update to 0.3.9 release
More information about the scm-commits
mailing list