From: Alexander Sedov Date: Fri, 29 Mar 2013 20:31:23 +0000 (+0400) Subject: A typo in SETPROP macro: should be ``printf %b'', not ``printf''. X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=commitdiff_plain;h=e0e4a844f76311f4bfed542d34459dcfc68f9ddf A typo in SETPROP macro: should be ``printf %b'', not ``printf''. Signed-off-by: Christoph Lohmann <20h@r-36.net> --- 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 \ } \