summaryrefslogtreecommitdiff
path: root/wm/icewm/patches/patch-ac
blob: fb52a0fdf268fc6fb4a6cc2c456dc098e5cbcf10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.6 2006/02/09 21:36:41 ghen Exp $

Get icewm to look in the right place for START_PIXMAP

--- src/wmtaskbar.cc.orig	2006-02-09 17:15:58.000000000 +0100
+++ src/wmtaskbar.cc
@@ -90,7 +90,8 @@ static void initPixmaps() {
     YResourcePaths subdirs(paths, base);
 
     if ((icewmImage = themedirs.loadImage(base, ICEWM_PIXMAP)) == null &&
-        (icewmImage = themedirs.loadImage(base, START_PIXMAP)) == null)
+        (icewmImage = themedirs.loadImage(base, START_PIXMAP)) == null &&
+        (icewmImage = subdirs.loadImage(base, START_PIXMAP)) == null)
         icewmImage = subdirs.loadImage(base, ICEWM_PIXMAP);
 
     windowsImage = subdirs.loadImage(base, "windows.xpm");