Ignore the desktop on smart placement

The desktop usually intersects all windows and
by this pollutes the heuristics with its punishment
icc-effect-5.14.5
Thomas Lübking 2013-06-25 15:35:13 +02:00
parent 70d81ce426
commit 16ee964eb7
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ static inline bool isIrrelevant(Client *client, Client *regarding, int desktop)
return true;
if (!client->isOnCurrentActivity())
return true;
if (client->isDesktop())
return true;
return false;
}