Ignore the desktop on smart placement

The desktop usually intersects all windows and
by this pollutes the heuristics with its punishment
This commit is contained in:
Thomas Lübking 2013-06-25 15:35:13 +02:00
parent 70d81ce426
commit 16ee964eb7

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;
}