Skip to content

Commit 9ac3826

Browse files
committed
Also ignore lowercase conky class, updates #40, #90, #88
1 parent 07a16f7 commit 9ac3826

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SetBG.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ SetBG::RootWindowData SetBG::check_window_type(Display *display, Window window)
295295
if (strclass == std::string("Nautilus")) retval.type = SetBG::NAUTILUS; else
296296
if (strclass == std::string("Nemo")) retval.type = SetBG::NEMO; else
297297
if (strclass == std::string("Pcmanfm")) retval.type = SetBG::PCMANFM; else
298-
if (strclass == std::string("Conky")) retval.type = SetBG::IGNORE; else // discard Conky!
298+
if (strclass == std::string("Conky") || strclass == std::string("conky"))
299+
retval.type = SetBG::IGNORE; else // discard Conky!
299300
{
300301
std::cerr << "UNKNOWN ROOT WINDOW TYPE DETECTED (" << strclass << "), please file a bug\n";
301302
retval.type = SetBG::UNKNOWN;

0 commit comments

Comments
 (0)