Skip to content

Commit

Permalink
Ignore awesome "desktop" windows, fixes #142
Browse files Browse the repository at this point in the history
  • Loading branch information
daf committed Mar 31, 2021
1 parent 6866a53 commit 5fe0018
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SetBG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ SetBG::RootWindowData SetBG::check_window_type(Display *display, Window window)
retval.type = SetBG::IGNORE; else
if (strclass == std::string("Tilda"))
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
{
std::cerr << "UNKNOWN ROOT WINDOW TYPE DETECTED (" << strclass << "), please file a bug\n";
retval.type = SetBG::UNKNOWN;
Expand Down

0 comments on commit 5fe0018

Please sign in to comment.