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:
parent
70d81ce426
commit
16ee964eb7
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue