summaryrefslogtreecommitdiff
path: root/wm/selectwm/patches/patch-aa
blob: db470adf8c73324196f2f22626bbeaab25739807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-aa,v 1.1.1.1 2005/04/15 12:42:40 agc Exp $

Look in pkgsrc and X11R6 directories for window managers

--- src/searchwm.c	2005/04/15 11:14:28	1.1
+++ src/searchwm.c	2005/04/15 11:15:59
@@ -58,6 +58,12 @@
 };
 
 static gchar * path [] = {
+#ifdef LOCALBASE
+	LOCALBASE "/bin/",
+#endif
+#ifdef X11BASE
+	X11BASE "/bin/",
+#endif
 	"/usr/local/bin/",
 	"/usr/bin/X11/",
 	"/usr/bin/",