[openoffice.org/f13/master] Resolves: rhbz#623800 gnome-shell/mutter focus problems

Caolan McNamara caolanm at fedoraproject.org
Fri Aug 13 08:07:25 UTC 2010


commit 680605c04e2a8dcbce4b63ae82fefa70d8748c1b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Aug 13 09:07:21 2010 +0100

    Resolves: rhbz#623800 gnome-shell/mutter focus problems

 openoffice.org-3.3.0.ooo113856.vcl.mutter.patch |   13 +++++++++++++
 openoffice.org.spec                             |    7 ++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/openoffice.org-3.3.0.ooo113856.vcl.mutter.patch b/openoffice.org-3.3.0.ooo113856.vcl.mutter.patch
new file mode 100644
index 0000000..3325aa8
--- /dev/null
+++ b/openoffice.org-3.3.0.ooo113856.vcl.mutter.patch
@@ -0,0 +1,13 @@
+diff -r e08d3a985a67 vcl/unx/gtk/window/gtkframe.cxx
+--- a/vcl/unx/gtk/window/gtkframe.cxx	Fri Aug 06 13:25:47 2010 +0100
++++ b/vcl/unx/gtk/window/gtkframe.cxx	Fri Aug 13 08:58:07 2010 +0100
+@@ -1355,7 +1355,8 @@
+             // awesome.
+             bool bHack =
+                 getDisplay()->getWMAdaptor()->getWindowManagerName().EqualsAscii("Metacity") ||
+-                getDisplay()->getWMAdaptor()->getWindowManagerName().EqualsAscii("compiz")
++                getDisplay()->getWMAdaptor()->getWindowManagerName().EqualsAscii("compiz") ||
++                getDisplay()->getWMAdaptor()->getWindowManagerName().EqualsAscii("Mutter")
+                 ;
+             if( nUserTime == 0 && bHack )
+             {
diff --git a/openoffice.org.spec b/openoffice.org.spec
index e0e3331..b57953b 100644
--- a/openoffice.org.spec
+++ b/openoffice.org.spec
@@ -1,6 +1,6 @@
 %define oootag OOO320
 %define ooomilestone 12
-%define rh_rpm_release 30
+%define rh_rpm_release 31
 
 # rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
 %define __jar_repack %{nil}
@@ -171,6 +171,7 @@ Patch100: workspace.cmcfixes77.patch
 Patch101: openoffice.org-3.2.0.ooo113400.canvas.fix-scaling.patch
 Patch102: openoffice.org-3.3.0.ooo106591.sal.tradcopy.patch
 Patch103: workspace.impress197.patch
+Patch104: openoffice.org-3.3.0.ooo113856.vcl.mutter.patch
 
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %define instdir %{_libdir}
@@ -1772,6 +1773,7 @@ cp -p %{SOURCE5} external/unowinreg/unowinreg.dll
 %patch101 -p1 -b .ooo113400.canvas.fix-scaling.patch
 %patch102 -p0 -b .ooo106591.sal.tradcopy.patch
 %patch103 -p1 -b .workspace.impress197.patch
+%patch104 -p0 -b .ooo113856.vcl.mutter.patch
 
 %build
 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -4257,6 +4259,9 @@ fi
 %endif
 
 %changelog
+* Fri Aug 13 2010 Caolán McNamara <caolanm at redhat.com> - 1:3.2.0-12.31
+- Resolves: rhbz#623800 gnome-shell/mutter focus problems
+
 * Thu Aug 12 2010 Caolán McNamara <caolanm at redhat.com> - 1:3.2.0-12.30
 - Resolves: rhbz#623609 CVE-2010-2935 CVE-2010-2936
 


More information about the scm-commits mailing list