]> Skullheadx's Git Forge - surf.git/commitdiff
quoting fix reported by Evan Gates.
authorEnno Boland (tox) <tox@s01.de>
Wed, 28 Oct 2009 21:22:20 +0000 (22:22 +0100)
committerEnno Boland (tox) <tox@s01.de>
Wed, 28 Oct 2009 21:22:20 +0000 (22:22 +0100)
config.def.h

index 42aad51b2b5cb075d294729e257dc620c6874468..ac6571a964e143e15853c9dd965021b2fc40dade 100644 (file)
@@ -9,7 +9,7 @@ static char *dldir          = ".surf/dl";
 static time_t sessiontime   = 3600;
 
 #define SETPROP(p)       { .v = (char *[]){ "/bin/sh", "-c", \
-       "xprop -id $1 -f $0 8s -set $0 `echo -n | dmenu || exit 0`", \
+       "xprop -id $1 -f $0 8s -set $0 \"`echo -n | dmenu || exit 0`\"", \
        p, winid, NULL } }
 #define MODKEY GDK_CONTROL_MASK
 static Key keys[] = {