all repos — fluxbox @ e8021e36974bb81720d4d5658a69e2d9711d702c

custom fork of the fluxbox windowmanager

handle DISPLAY :x and :x.0 idem

Patch originally provided by Francesco Poli to Debian

BUG: 1052
Thomas Lübking thomas.luebking@gmail.com
commit

e8021e36974bb81720d4d5658a69e2d9711d702c

parent

2cfffee19b9848a9e39e6149cbd97e23e7adddbc

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

jump to
M util/fbsetbgutil/fbsetbg

@@ -47,6 +47,7 @@ # The wallpapersetter is selected in this order

wpsetters="${wpsetters:=Esetroot wmsetbg feh hsetroot chbg display qiv xv xsri xli xsetbg}" # broken icewmbg' lastwallpaper="${HOME}/.fluxbox/lastwallpaper" +DISPLAY=${DISPLAY%.0} WHOAMI=`whoami` [ "$WHOAMI" = root ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin

@@ -167,7 +168,7 @@ # fi

} remembercommand() { - grep -vs "|${DISPLAY}$" ${lastwallpaper} > ${lastwallpaper}.tmp + grep -vs "|${DISPLAY}$\||${DISPLAY}\.0$" ${lastwallpaper} > ${lastwallpaper}.tmp mv -f ${lastwallpaper}.tmp ${lastwallpaper} if [ "$option" = fbsetroot ]; then echo $option"|$wallpaper|$style|"$DISPLAY >> $lastwallpaper