aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-16 16:37:52 +0200
committerJustin Lecher <jlec@gentoo.org>2010-06-17 09:22:02 +0200
commit642784a6d7a6cc4661f2f59396ccf3f67533c930 (patch)
tree2bbacdeb9b6adb982181dbdcce8dd6466a439dc9 /sci-electronics/gerbv/files
parentInCvs (diff)
downloadsci-642784a6d7a6cc4661f2f59396ccf3f67533c930.tar.gz
sci-642784a6d7a6cc4661f2f59396ccf3f67533c930.tar.bz2
sci-642784a6d7a6cc4661f2f59396ccf3f67533c930.zip
InCvs
Diffstat (limited to 'sci-electronics/gerbv/files')
-rw-r--r--sci-electronics/gerbv/files/gerbv-1.0.0-Xinerama.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/sci-electronics/gerbv/files/gerbv-1.0.0-Xinerama.patch b/sci-electronics/gerbv/files/gerbv-1.0.0-Xinerama.patch
deleted file mode 100644
index 40e296b8c..000000000
--- a/sci-electronics/gerbv/files/gerbv-1.0.0-Xinerama.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -ur gerbv-1.0.0/ChangeLog gerbv-1.0.0.new/ChangeLog
---- gerbv-1.0.0/ChangeLog 2004-12-27 23:31:10.000000000 +0000
-+++ gerbv-1.0.0.new/ChangeLog 2005-01-02 01:54:21.074734456 +0000
-@@ -269,6 +269,10 @@
- * src/gerber.c: Doesn't warn anymore if a gerber file requests an
- image rotate on zero degrees. Reported by Balaji V.
-
-+2003-03-03 Jeffrey W. Baker <jwbaker@acm.org>
-+
-+ * src/gerbv.c: fix initial window size for multihead systems.
-+
- 2003-03-02 Stefan Petersen <spe@stacken.kth.se>
-
- * src/draw_amacro.c: Aperture macro primitive 1 is a filled circle.
-diff -ur gerbv-1.0.0/src/gerbv.c gerbv-1.0.0.new/src/gerbv.c
---- gerbv-1.0.0/src/gerbv.c 2004-09-24 20:12:25.000000000 +0100
-+++ gerbv-1.0.0.new/src/gerbv.c 2005-01-02 01:53:21.241830440 +0000
-@@ -2485,7 +2485,7 @@
- GtkWidget *hbox;
- GtkWidget *menubar;
- GtkStyle *textStyle;
-- gint screen_width, width, height;
-+ gint width, height;
- int read_opt;
- int i;
- int req_width = -1, req_height = -1, req_x = 0, req_y = 0;
-@@ -2611,9 +2610,14 @@
- width = req_width;
- height = req_height;
- } else {
-- screen_width = gdk_screen_width();
-- width = screen_width * 3/4;
-- height = width * 3/4;
-+ GdkScreen *screen;
-+ int nmonitors;
-+
-+ screen = gdk_screen_get_default();
-+ nmonitors = gdk_screen_get_n_monitors(screen);
-+
-+ width = gdk_screen_get_width(screen) * 3/4 / nmonitors;
-+ height = gdk_screen_get_height(screen) * 3/4 / nmonitors;
- }
-
- /*