aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-03-08 20:55:45 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-03-08 20:55:45 +0000
commit6b026e1a986f118eb101f8d2735de8ad854657e2 (patch)
tree3c1615644e6dcf173a9224da2ddb1fece8a980f6 /accessibility
parent73fcc2def68ddedacc230cc5f5d8c7fc61ad4eee (diff)
downloadports-6b026e1a986f118eb101f8d2735de8ad854657e2.tar.gz
ports-6b026e1a986f118eb101f8d2735de8ad854657e2.zip
Notes
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/gnome-mag/files/patch-magnifier_magnifier.c12
-rw-r--r--accessibility/gnomemag/files/patch-magnifier_magnifier.c12
2 files changed, 24 insertions, 0 deletions
diff --git a/accessibility/gnome-mag/files/patch-magnifier_magnifier.c b/accessibility/gnome-mag/files/patch-magnifier_magnifier.c
new file mode 100644
index 000000000000..9b0193a872df
--- /dev/null
+++ b/accessibility/gnome-mag/files/patch-magnifier_magnifier.c
@@ -0,0 +1,12 @@
+--- magnifier/magnifier.c.orig Tue Mar 8 15:52:39 2005
++++ magnifier/magnifier.c Tue Mar 8 15:52:53 2005
+@@ -675,8 +675,8 @@
+ static void magnifier_adjust_source_size (Magnifier *magnifier)
+ {
+ GNOME_Magnifier_RectBounds rect_bounds;
+- magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE);
+ gdouble vfract, hfract;
++ magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE);
+ hfract = (double) (magnifier->target_bounds.x2 - magnifier->target_bounds.x1) / (double) (rect_bounds.x2 - rect_bounds.x1);
+ vfract = (double) (magnifier->target_bounds.y2 - magnifier->target_bounds.y1) / (double) (rect_bounds.y2 - rect_bounds.y1);
+ if (vfract > hfract) /* vertical splitpane, approximately */
diff --git a/accessibility/gnomemag/files/patch-magnifier_magnifier.c b/accessibility/gnomemag/files/patch-magnifier_magnifier.c
new file mode 100644
index 000000000000..9b0193a872df
--- /dev/null
+++ b/accessibility/gnomemag/files/patch-magnifier_magnifier.c
@@ -0,0 +1,12 @@
+--- magnifier/magnifier.c.orig Tue Mar 8 15:52:39 2005
++++ magnifier/magnifier.c Tue Mar 8 15:52:53 2005
+@@ -675,8 +675,8 @@
+ static void magnifier_adjust_source_size (Magnifier *magnifier)
+ {
+ GNOME_Magnifier_RectBounds rect_bounds;
+- magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE);
+ gdouble vfract, hfract;
++ magnifier_get_display_rect_bounds (magnifier, &rect_bounds, FALSE);
+ hfract = (double) (magnifier->target_bounds.x2 - magnifier->target_bounds.x1) / (double) (rect_bounds.x2 - rect_bounds.x1);
+ vfract = (double) (magnifier->target_bounds.y2 - magnifier->target_bounds.y1) / (double) (rect_bounds.y2 - rect_bounds.y1);
+ if (vfract > hfract) /* vertical splitpane, approximately */