all repos — fluxbox @ c3e6efb4e2866f11254f968e17941b7254df692f

custom fork of the fluxbox windowmanager

little fix for fbsetbg (patch from mark tiefenbruck)
mathias mathias
commit

c3e6efb4e2866f11254f968e17941b7254df692f

parent

b429656122da7a3f75bfb6a30ff5086506982ddc

2 files changed, 6 insertions(+), 0 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,7 @@

(Format: Year/Month/Day) Changes for 0.9.15: +*06/01/23: + * minor fix for fbsetbg (thanx Mark Tiefenbruck) *06/01/16: * minor changes to fix some warnings (Thanks php-coder) Screen.cc Window.cc MenuCreator.cc MenuTheme.hh
M util/fbsetbgutil/fbsetbg

@@ -288,6 +288,10 @@ if [ -r "$lastwallpaper" ]; then

option=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f1` wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` if [ -z "$wallpaper" ]; then + option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1` + wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2` + fi + if [ -z "$wallpaper" ]; then message "No previous wallpaper recorded for display ${DISPLAY}" exit 1 fi