aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/login.app/files/patch-graphics.c11
-rw-r--r--x11/login.app/files/patch-panel.c11
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);