summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox.spec1
-rw-r--r--mozilla-1423598-popup.patch6
2 files changed, 4 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec
index 856c692..bcc58cc 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -926,6 +926,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Thu Mar 21 2019 Martin Stransky <stransky@redhat.com> - 66.0-8.test
- Added module specific build config
+- Fixed mozbz#1423598 for multi-monitor setup
* Wed Mar 20 2019 Martin Stransky <stransky@redhat.com> - 66.0-7.test
- Switched to test builds
diff --git a/mozilla-1423598-popup.patch b/mozilla-1423598-popup.patch
index fc07bd8..7d71e2e 100644
--- a/mozilla-1423598-popup.patch
+++ b/mozilla-1423598-popup.patch
@@ -38,11 +38,11 @@ diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+ GdkAnchorHints, gint, gint))
+ dlsym(RTLD_DEFAULT, "gdk_window_move_to_rect");
+
++ if (aSize) {
++ gtk_window_resize(GTK_WINDOW(mShell), aSize->width, aSize->height);
++ }
+ if (!sGdkWindowMoveToRect) {
+ gtk_window_move(GTK_WINDOW(mShell), aPosition->x, aPosition->y);
-+ if (aSize) {
-+ gtk_window_resize(GTK_WINDOW(mShell), aSize->width, aSize->height);
-+ }
+ return;
+ }
+
bgstack15