fix for fbsetbg -l when last wallpaper was using fbsetroot
This commit is contained in:
parent
6ac57655d9
commit
622d75f642
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue