From a2201e19dd2d40ce5943025640cbf36765ee1bb0 Mon Sep 17 00:00:00 2001 From: Jonas Keller Date: Wed, 9 Aug 2023 21:28:36 +0200 Subject: [PATCH] Add Nemo-desktop to ignored desktop windows --- src/SetBG.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SetBG.cc b/src/SetBG.cc index 1f08d1c..7388270 100644 --- a/src/SetBG.cc +++ b/src/SetBG.cc @@ -321,6 +321,8 @@ SetBG::RootWindowData SetBG::check_window_type(Display *display, Window window) retval.type = SetBG::IGNORE; else if (strclass == std::string("awesome")) // awesome's widget library "drawin" will set _NET_WM_WINDOW_TYPE_DESKTOP, should be safe to ignore retval.type = SetBG::IGNORE; else + if (strclass == std::string("Nemo-desktop")) + retval.type = SetBG::IGNORE; else { std::cerr << "UNKNOWN ROOT WINDOW TYPE DETECTED (" << strclass << "), please file a bug\n"; retval.type = SetBG::UNKNOWN;