From 17b7ef5f8b57779b2a1db704302a2b73ffbeb0e1 Mon Sep 17 00:00:00 2001 From: fredb Date: Sun, 7 Oct 2001 15:03:32 +0000 Subject: Make the background pixmap feature work as documented. Now, placing a file named "background.xpm", containing a pixmap called "background", in the ${HOME}/.wmx/ directory will decorate both the menu background and the borders. --- wm/wmx/distinfo | 3 ++- wm/wmx/patches/patch-ac | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 wm/wmx/patches/patch-ac (limited to 'wm/wmx') diff --git a/wm/wmx/distinfo b/wm/wmx/distinfo index 1b9151954e7..1ba4ddd962e 100644 --- a/wm/wmx/distinfo +++ b/wm/wmx/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2001/07/27 20:40:00 jlam Exp $ +$NetBSD: distinfo,v 1.4 2001/10/07 15:03:32 fredb Exp $ SHA1 (wmx-6.tar.gz) = 89563c8c2af1d3ffbee06197928123fd03ae9c54 Size (wmx-6.tar.gz) = 86515 bytes SHA1 (patch-aa) = 6314e4d3b9b92c169d16b1db339782f8f773995c SHA1 (patch-ab) = 2f210b6965248be688a640472fb018d62e5197d0 +SHA1 (patch-ac) = 5921c882abd6769b2adf4fe26bb965982c9a5356 diff --git a/wm/wmx/patches/patch-ac b/wm/wmx/patches/patch-ac new file mode 100644 index 00000000000..0b7f6d1f410 --- /dev/null +++ b/wm/wmx/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.1 2001/10/07 15:03:33 fredb Exp $ + +--- Border.C.orig Wed Apr 4 04:02:34 2001 ++++ Border.C +@@ -191,7 +191,7 @@ + strcpy (pixMapPath, home); + strcat (pixMapPath, "/"); + strcat (pixMapPath, CONFIG_COMMAND_MENU); +- strcat (pixMapPath, "/border.xpm"); ++ strcat (pixMapPath, "/background.xpm"); + + // look for background pixmap file in + // the users .wmx directory. It is *not* +@@ -239,9 +239,8 @@ + m_backgroundPixmap = None; + break; + } +- } else ++ } + #endif +- m_backgroundPixmap = None; + } + } + -- cgit v1.2.3