fix for fbsetbg -l when last wallpaper was using fbsetroot

This commit is contained in:
markt 2007-04-18 18:12:29 +00:00
parent 6ac57655d9
commit 622d75f642
2 changed files with 4 additions and 1 deletions

View file

@ -472,7 +472,7 @@ void FluxboxWindow::init() {
int real_y = frame().y();
if (real_x >= 0 &&
real_y + frame().y() >= 0 &&
real_y >= 0 &&
real_x <= (signed) screen().width() &&
real_y <= (signed) screen().height())
place_window = false;

View file

@ -306,6 +306,9 @@ while [ $# -gt 0 ]; do
message "No previous wallpaper recorded for display ${DISPLAY}"
exit 1
fi
if [ "$option" = "fbsetroot" ]; then
use_fbsetroot
fi
else
message "No previous wallpaper recorded for display ${DISPLAY}"
exit 1