fix for fbsetbg -l when last wallpaper was using fbsetroot
markt markt
2 files changed,
4 insertions(+),
1 deletions(-)
M
src/Window.cc
→
src/Window.cc
@@ -472,7 +472,7 @@ int real_x = frame().x();
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;
M
util/fbsetbg
→
util/fbsetbg
@@ -306,6 +306,9 @@ if [ -z "$wallpaper" ]; then
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