aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2007-03-24 16:34:32 (GMT)
committermarkt <markt>2007-03-24 16:34:32 (GMT)
commit48c3af9f9c0dd8e9d56c23dc1253f1845144a562 (patch)
tree6d793c9c8b572d459e8f675603ac26885309cda3
parent4ac761a36e4796a486dc1d6eb939b75a67d184a6 (diff)
downloadfluxbox-48c3af9f9c0dd8e9d56c23dc1253f1845144a562.zip
fluxbox-48c3af9f9c0dd8e9d56c23dc1253f1845144a562.tar.bz2
fixed a little bug in fbsetbg when DISPLAY doesn't have .0 after it
-rw-r--r--ChangeLog2
-rw-r--r--util/fbsetbg2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f515454..9bb4bcf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes for 1.0rc3:
3*07/03/24: 3*07/03/24:
4 * Fixed a little bug in fbsetbg (Mark)
5 util/fbsetbg
4 * Workspace Menu wasn't updating when windows changed titles (Mark) 6 * Workspace Menu wasn't updating when windows changed titles (Mark)
5 Workspace.cc 7 Workspace.cc
6*07/03/21: 8*07/03/21:
diff --git a/util/fbsetbg b/util/fbsetbg
index 60118e5..718b19e 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -298,6 +298,8 @@ while [ $# -gt 0 ]; do
298 wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` 298 wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2`
299 if [ -z "$wallpaper" ]; then 299 if [ -z "$wallpaper" ]; then
300 option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1` 300 option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1`
301 option2=`echo $option|cut -d' ' -f2`
302 option=`echo $option|cut -d' ' -f1`
301 wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2` 303 wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2`
302 fi 304 fi
303 if [ -z "$wallpaper" ]; then 305 if [ -z "$wallpaper" ]; then