pkgsrc/wm/wmx/patches/patch-ac
fredb 2b2141c2d2 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.
2001-10-07 15:03:32 +00:00

24 lines
698 B
Text

$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;
}
}