From: Thordur Bjornsson Date: Tue, 29 Nov 2011 23:39:31 +0000 (+0000) Subject: Work around dmenu version incompatibilities. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=03de52ac9397db5787811186a9527a9749463f72;hp=03de52ac9397db5787811186a9527a9749463f72;p=spectrwm.git 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 ---