summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Sedov <alex0player@gmail.com>2013-03-30 00:31:23 +0400
committerChristoph Lohmann <20h@r-36.net>2013-03-30 06:49:57 +0100
commite0e4a844f76311f4bfed542d34459dcfc68f9ddf (patch)
treefddfe17c925c87b41b9e0e26c7ce2584060482b1
parentf6dc8b25418e541f7d7b9c3ce63c763918a15d90 (diff)
downloadsurf-e0e4a844f76311f4bfed542d34459dcfc68f9ddf.tar.gz
surf-e0e4a844f76311f4bfed542d34459dcfc68f9ddf.tar.bz2
surf-e0e4a844f76311f4bfed542d34459dcfc68f9ddf.zip
A typo in SETPROP macro: should be ``printf %b'', not ``printf''.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 3ddfaf8..ed8fbbe 100644
--- a/config.def.h
+++ b/config.def.h
@@ -23,7 +23,7 @@ static Bool hidebackground = FALSE;
#define SETPROP(p, q) { \
.v = (char *[]){ "/bin/sh", "-c", \
- "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | xargs -0 printf | dmenu`\" &&" \
+ "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | xargs -0 printf %b | dmenu`\" &&" \
"xprop -id $2 -f $1 8s -set $1 \"$prop\"", \
p, q, winid, NULL \
} \