From 16ee964eb7f011f5ad55839b79dabd7dc7e95208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Tue, 25 Jun 2013 15:35:13 +0200 Subject: [PATCH] Ignore the desktop on smart placement The desktop usually intersects all windows and by this pollutes the heuristics with its punishment --- placement.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/placement.cpp b/placement.cpp index 222d2255c9..b23dc37d62 100644 --- a/placement.cpp +++ b/placement.cpp @@ -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; }