diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-06 20:48:19 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-11-06 20:48:19 +0000 |
commit | 0d2980531d23fd18a8c9c74f18588c5caf2cab46 (patch) | |
tree | 00f072dd435613a5a0c9b1147340385b402e1a5f /x11/login.app | |
parent | Update to 1.91 (diff) |
- Fix build with latest windowmaker
PR: ports/73338
Submitted by: Tobias Roth <ports@fsck.ch>
Notes
Notes:
svn path=/head/; revision=120995
Diffstat (limited to 'x11/login.app')
-rw-r--r-- | x11/login.app/files/patch-graphics.c | 11 | ||||
-rw-r--r-- | x11/login.app/files/patch-panel.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/x11/login.app/files/patch-graphics.c b/x11/login.app/files/patch-graphics.c new file mode 100644 index 000000000000..72448fd739ea --- /dev/null +++ b/x11/login.app/files/patch-graphics.c @@ -0,0 +1,11 @@ +--- graphics.c.orig Sun Oct 31 11:44:10 2004 ++++ graphics.c Sun Oct 31 11:44:54 2004 +@@ -73,7 +73,7 @@ + img = RCloneImage(bottom); + RCombineImages(img, top); + setWindowImage(win, img); +- RDestroyImage(img); ++ RReleaseImage(img); + } + + void drawText(Window win, XFontStruct* font, int justification, int x, int y, diff --git a/x11/login.app/files/patch-panel.c b/x11/login.app/files/patch-panel.c new file mode 100644 index 000000000000..9a3334f58ddc --- /dev/null +++ b/x11/login.app/files/patch-panel.c @@ -0,0 +1,11 @@ +--- panel.c.orig Sun Oct 31 11:44:16 2004 ++++ panel.c Sun Oct 31 11:44:41 2004 +@@ -297,7 +297,7 @@ + + image = RCreateImageFromDrawable(ctx, panel, 0); + RConvertImage(ctx, image, &shrinkPixmap); +- RDestroyImage(image); ++ RReleaseImage(image); + + XSetWindowBackgroundPixmap(dpy, panel, shrinkPixmap); + XUnmapSubwindows(dpy, panel); |