From 1e4d0c321bcc7ba9211309bfeabd826eca5fc01e Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 6 Nov 2004 20:48:19 +0000 Subject: - Fix build with latest windowmaker PR: ports/73338 Submitted by: Tobias Roth --- x11/login.app/files/patch-graphics.c | 11 +++++++++++ x11/login.app/files/patch-panel.c | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 x11/login.app/files/patch-graphics.c create mode 100644 x11/login.app/files/patch-panel.c (limited to 'x11') diff --git a/x11/login.app/files/patch-graphics.c b/x11/login.app/files/patch-graphics.c new file mode 100644 index 0000000..72448fd --- /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 0000000..9a3334f --- /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); -- cgit v1.1