Fix atom value parsing in SETPROP
authorQuentin Rameau <quinq+hackers@fifth.space>
Tue, 13 Oct 2015 11:32:09 +0000 (13:32 +0200)
committerChristoph Lohmann <20h@r-36.net>
Tue, 13 Oct 2015 12:28:09 +0000 (14:28 +0200)
commit1554354f1689c2205a809e23d29c9e21d38e0be5
tree44067896d3707af3e3cf462851d9357f99478581
parent3c2acda0b745ffd887a99f8f32b64064665fa553
Fix atom value parsing in SETPROP

xprop(1) encloses the returned atom string value in double quotes while
it doesn't when the value is unset. Original simple parsing would fail
and parse the atom name instead of getting an empty value.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
config.def.h