summaryrefslogtreecommitdiff
path: root/newmoon/debian/patches/UXP-GTK-3-interface-Ensure-horizontal-scrollbars-are-not-too-tall.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-09-16 23:09:34 +0000
committerB Stack <bgstack15@gmail.com>2020-09-16 23:09:34 +0000
commitba853302cb64a1f88388db3cc2b6e39d0d327776 (patch)
tree71a13bbada07e81b32da105e05f05a04443fa802 /newmoon/debian/patches/UXP-GTK-3-interface-Ensure-horizontal-scrollbars-are-not-too-tall.patch
parentMerge branch 'waterfox-bump' into 'master' (diff)
parentWIP: add xfce-helper for palemoon (diff)
downloadstackrpms-ba853302cb64a1f88388db3cc2b6e39d0d327776.tar.gz
stackrpms-ba853302cb64a1f88388db3cc2b6e39d0d327776.tar.bz2
stackrpms-ba853302cb64a1f88388db3cc2b6e39d0d327776.zip
Merge branch 'palemoon-bump' into 'master'
Palemoon 28.13.0 See merge request bgstack15/stackrpms!187
Diffstat (limited to 'newmoon/debian/patches/UXP-GTK-3-interface-Ensure-horizontal-scrollbars-are-not-too-tall.patch')
-rw-r--r--newmoon/debian/patches/UXP-GTK-3-interface-Ensure-horizontal-scrollbars-are-not-too-tall.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/newmoon/debian/patches/UXP-GTK-3-interface-Ensure-horizontal-scrollbars-are-not-too-tall.patch b/newmoon/debian/patches/UXP-GTK-3-interface-Ensure-horizontal-scrollbars-are-not-too-tall.patch
new file mode 100644
index 0000000..0c06d85
--- /dev/null
+++ b/newmoon/debian/patches/UXP-GTK-3-interface-Ensure-horizontal-scrollbars-are-not-too-tall.patch
@@ -0,0 +1,23 @@
+# This patch was created by Gordon N. Squash.
+#
+# When applied, this patch corrects a long-standing bug in UXP and sizes
+# horizontal scrollbars correctly in the GTK+ 3 user interface backend to UXP.
+#
+# This patch is stable. It does not adversely affect UXP in any way -- in
+# fact, its application is beneficial, as far as the author can tell.
+#
+# WARNING! This is not an official patch in any way, shape or form! Do not
+# contact the original authors of UXP for support of this patch!
+#
+diff -uprN palemoon-28.12.0-original/platform/widget/gtk/nsNativeThemeGTK.cpp palemoon-28.12.0-patched/platform/widget/gtk/nsNativeThemeGTK.cpp
+--- palemoon-28.12.0-original/platform/widget/gtk/nsNativeThemeGTK.cpp 2020-07-30 05:37:13.000000000 -0400
++++ palemoon-28.12.0-patched/platform/widget/gtk/nsNativeThemeGTK.cpp 2020-08-06 15:43:22.876133836 -0400
+@@ -1438,7 +1438,7 @@ nsNativeThemeGTK::GetMinimumWidgetSize(n
+ {
+ if (gtk_check_version(3,20,0) == nullptr) {
+ moz_gtk_get_widget_min_size(MOZ_GTK_SCROLLBAR_BUTTON,
+- &(aResult->width), &(aResult->height));
++ &(aResult->height), &(aResult->width));
+ } else {
+ MozGtkScrollbarMetrics metrics;
+ moz_gtk_get_scrollbar_metrics(&metrics);
bgstack15