summaryrefslogtreecommitdiff
path: root/mozilla-1423598-popup.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-03-21 12:19:07 +0100
committerMartin Stransky <stransky@redhat.com>2019-03-21 12:19:07 +0100
commit51a685cae009ee4ee6d06a9abb6e2147aa7c40ed (patch)
tree98bab7f4bd0d67cce6165ca7afb86b24011d0332 /mozilla-1423598-popup.patch
parentAdded module specific build config (diff)
downloadlibrewolf-fedora-ff-51a685cae009ee4ee6d06a9abb6e2147aa7c40ed.tar.gz
librewolf-fedora-ff-51a685cae009ee4ee6d06a9abb6e2147aa7c40ed.tar.bz2
librewolf-fedora-ff-51a685cae009ee4ee6d06a9abb6e2147aa7c40ed.zip
Fixed mozbz#1423598 for multi-monitor setup
Diffstat (limited to 'mozilla-1423598-popup.patch')
-rw-r--r--mozilla-1423598-popup.patch6
1 files changed, 3 insertions, 3 deletions
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