all repos — fluxbox @ 697aa333554f71a6670513fe896ab50ab5caf6bd

custom fork of the fluxbox windowmanager

forgot putenv
fluxgen fluxgen
commit

697aa333554f71a6670513fe896ab50ab5caf6bd

parent

aa7ca74e8ba973e38dcbb181a6b6dafac9cad63d

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/FbCommands.ccsrc/FbCommands.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbCommands.cc,v 1.4 2003/04/28 00:34:59 fluxgen Exp $ +// $Id: FbCommands.cc,v 1.5 2003/04/28 01:17:39 fluxgen Exp $ #include "FbCommands.hh" #include "fluxbox.hh"

@@ -48,6 +48,7 @@ // remove last number of display and add screen num

displaystring.erase(displaystring.size()-1); displaystring += intbuff; setsid(); + putenv(const_cast<char *>(displaystring.c_str())); execl("/bin/sh", "/bin/sh", "-c", m_cmd.c_str(), 0); exit(0); }