summaryrefslogtreecommitdiff
path: root/mozilla-1423598-popup.patch
diff options
context:
space:
mode:
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