fixed wrong env setup when setting background
commitfe8ab024afa7cda3c63e77973dff51c3cc5e153a
authorRalf Hoffmann <ralf@boomerangsworld.de>
Fri, 4 Dec 2009 13:57:01 +0000 (4 14:57 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 8 Dec 2009 15:14:29 +0000 (8 16:14 +0100)
tree07d13e7a74cc99c261a2e4fefc417b72e9ac77e5
parent6c6e832c5257808d054cd49c3e7eb585f7a7fa24
fixed wrong env setup when setting background

This patch fixes a problem with restarting Window Maker in multi-screen
environments. The code for setting the background by calling wmsetbg
changes the environment. In multi-screen setups the DISPLAY variable
becomes :0.0 instead of :0 (for example). The restarted Window Maker
process therefore only manages one screen.
src/defaults.c