]> code.delx.au - spectrwm/commit
Work around dmenu version incompatibilities.
authorThordur Bjornsson <thib@secnorth.net>
Tue, 29 Nov 2011 23:39:31 +0000 (23:39 +0000)
committerThordur Bjornsson <thib@secnorth.net>
Tue, 29 Nov 2011 23:59:13 +0000 (23:59 +0000)
commit03de52ac9397db5787811186a9527a9749463f72
treea1d184f5a4983db697f7e189814a4d3daa4adc27
parentbf9901fca703621db2c07b2ee7f7169c6b4b1129
Work around dmenu version incompatibilities.

Older versions of dmenu (4.2.1) do not send the newline character
long with the response while newer versions (4.4.2) do, this
causes mild bugs (last char in the name of the workspace gets
lobbed off for example). Fix it by sanitizing the string in the
response handler.

Tested by me & lteo with different dmenu version.
OK lteo, marco
scrotwm.c