Skip to content

Commit

Permalink
Also ignore lowercase conky class, updates #40, #90, #88
Browse files Browse the repository at this point in the history
  • Loading branch information
daf committed Jan 18, 2017
1 parent 07a16f7 commit 9ac3826
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SetBG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ SetBG::RootWindowData SetBG::check_window_type(Display *display, Window window)
if (strclass == std::string("Nautilus")) retval.type = SetBG::NAUTILUS; else
if (strclass == std::string("Nemo")) retval.type = SetBG::NEMO; else
if (strclass == std::string("Pcmanfm")) retval.type = SetBG::PCMANFM; else
if (strclass == std::string("Conky")) retval.type = SetBG::IGNORE; else // discard Conky!
if (strclass == std::string("Conky") || strclass == std::string("conky"))
retval.type = SetBG::IGNORE; else // discard Conky!
{
std::cerr << "UNKNOWN ROOT WINDOW TYPE DETECTED (" << strclass << "), please file a bug\n";
retval.type = SetBG::UNKNOWN;
Expand Down

0 comments on commit 9ac3826

Please # to comment.