summaryrefslogtreecommitdiff
path: root/firefox-1.5-embedwindow-visibility.patch
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@fedoraproject.org>2006-09-27 06:35:56 +0000
committerChristopher Aillon <caillon@fedoraproject.org>2006-09-27 06:35:56 +0000
commite27e6fefc5135cada75665f6f9913324433293a2 (patch)
treefa5e7934671e6c631f61461544dcc690569f02d9 /firefox-1.5-embedwindow-visibility.patch
parent- Arrrr! Add Obsoletes: mozilla to avoid GRE conflicts, me hearties! (diff)
downloadlibrewolf-fedora-ff-e27e6fefc5135cada75665f6f9913324433293a2.tar.gz
librewolf-fedora-ff-e27e6fefc5135cada75665f6f9913324433293a2.tar.bz2
librewolf-fedora-ff-e27e6fefc5135cada75665f6f9913324433293a2.zip
- Fix crash when changing gtk key theme
- Fix gtkmozembed window visibility - Prevent UI freezes while changing GNOME theme - Remove verbiage about pango; no longer required by upstream.
Diffstat (limited to 'firefox-1.5-embedwindow-visibility.patch')
-rw-r--r--firefox-1.5-embedwindow-visibility.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/firefox-1.5-embedwindow-visibility.patch b/firefox-1.5-embedwindow-visibility.patch
new file mode 100644
index 0000000..a52c8a1
--- /dev/null
+++ b/firefox-1.5-embedwindow-visibility.patch
@@ -0,0 +1,23 @@
+Index: embedding/browser/gtk/src/EmbedWindow.cpp
+===================================================================
+RCS file: /cvsroot/mozilla/embedding/browser/gtk/src/EmbedWindow.cpp,v
+retrieving revision 1.31
+diff -d -u -p -r1.31 EmbedWindow.cpp
+--- embedding/browser/gtk/src/EmbedWindow.cpp 17 Jan 2005 17:19:39 -0000 1.31
++++ embedding/browser/gtk/src/EmbedWindow.cpp 27 Sep 2006 00:41:38 -0000
+@@ -359,7 +359,14 @@ EmbedWindow::GetSiteWindow(void **aSiteW
+ NS_IMETHODIMP
+ EmbedWindow::GetVisibility(PRBool *aVisibility)
+ {
+- *aVisibility = mVisibility;
++ // XXX See bug 312998
++ // Work around the problem that sometimes the window
++ // is already visible even though mVisibility isn't true
++ // yet.
++ *aVisibility = mVisibility ||
++ (!mOwner->mIsChrome &&
++ mOwner->mOwningWidget &&
++ GTK_WIDGET_MAPPED(mOwner->mOwningWidget));
+ return NS_OK;
+ }
+
bgstack15