summaryrefslogtreecommitdiff
path: root/misc/alevt
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2000-08-04 09:33:00 +0000
committerRoger Hardiman <roger@FreeBSD.org>2000-08-04 09:33:00 +0000
commita6874290c229da463f3410f75a3c71dec9b8e725 (patch)
tree28bed708044b829efd8f87a936a12d252562e9c6 /misc/alevt
parentAdd missed @dirrm. (diff)
Replace patch-ab with an alternative fix supplied by
the Alevt author. Submitted by: Edgar Toernig <froese@gmx.de>
Notes
Notes: svn path=/head/; revision=31310
Diffstat (limited to 'misc/alevt')
-rw-r--r--misc/alevt/files/patch-ab24
1 files changed, 11 insertions, 13 deletions
diff --git a/misc/alevt/files/patch-ab b/misc/alevt/files/patch-ab
index 9ce44f126221..b5015fa9d2b4 100644
--- a/misc/alevt/files/patch-ab
+++ b/misc/alevt/files/patch-ab
@@ -1,13 +1,11 @@
-*** xio.c.orig Thu Oct 7 23:24:38 1999
---- xio.c Tue Aug 1 15:57:33 2000
-*************** xio_open_dpy(char *dpy, int argc, char *
-*** 170,175 ****
---- 170,177 ----
- if (not(xio = malloc(sizeof(*xio))))
- goto fail1;
-
-+ bzero(xio, sizeof *xio);
-+
- if (not(xio->dpy = XOpenDisplay(dpy)))
- goto fail2;
-
+--- xio.c.orig Fri Oct 8 00:24:38 1999
++++ xio.c Thu Aug 3 02:59:55 2000
+@@ -180,7 +180,7 @@
+ xio->screen = DefaultScreen(xio->dpy);
+ xio->depth = DefaultDepth(xio->dpy, xio->screen);
+ xio->width = DisplayWidth(xio->dpy, xio->screen);
+- xio->height = DisplayHeight(xio->dpy, xio->height);
++ xio->height = DisplayHeight(xio->dpy, xio->screen);
+ xio->root = DefaultRootWindow(xio->dpy);
+ xio->cmap = DefaultColormap(xio->dpy, xio->screen);
+ xio->xa_del_win = XInternAtom(xio->dpy, "WM_DELETE_WINDOW", False);