summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xtscal/xtscal/change-cross.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xtscal/xtscal/change-cross.patch')
-rw-r--r--meta/recipes-graphics/xtscal/xtscal/change-cross.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xtscal/xtscal/change-cross.patch b/meta/recipes-graphics/xtscal/xtscal/change-cross.patch
new file mode 100644
index 0000000000..3ecd36bb5e
--- /dev/null
+++ b/meta/recipes-graphics/xtscal/xtscal/change-cross.patch
@@ -0,0 +1,16 @@
1--- tmp/main.c.orig 2007-01-02 15:39:54.000000000 +0000
2+++ tmp/main.c 2007-01-02 15:39:54.000000000 +0000
3@@ -131,9 +131,10 @@
4 {
5 XRenderFillRectangles (dpy, PictOpSrc, pict, &rect_color, rectangles, 2);
6
7- XFillArc (dpy, crosshair_w, crosshair_gc, (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
8- (CROSSHAIR_SIZE / 2) - (WIDTH / 2) - 1,
9- WIDTH + 1, WIDTH + 1, 0, 360 * 64);
10+ XFillRectangle (dpy, crosshair_w, crosshair_gc,
11+ (CROSSHAIR_SIZE / 2) - (WIDTH / 2),
12+ (CROSSHAIR_SIZE / 2) - (WIDTH / 2),
13+ WIDTH, WIDTH);
14 }
15
16 void