From 9c0799c080202188e423c4c44b73339efa10824a Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Wed, 21 Aug 2002 10:09:50 +0000
Subject: [PATCH] Remove the layer constraint in overlap computation.

(Old svn revision: 10496)
---
 src/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/client.c b/src/client.c
index 1e898e7ef..90bba8790 100644
--- a/src/client.c
+++ b/src/client.c
@@ -1448,7 +1448,7 @@ static void clientInitPosition(Client * c)
             DBG("analyzing %i clients\n", client_count);
             for(c2 = clients, i = 0; i < client_count; c2 = c2->next, i++)
             {
-                if((c2 != c) && (c->win_layer == c2->win_layer) && (c->win_workspace == c2->win_workspace) && (c2->visible))
+                if((c2 != c) && (c->win_workspace == c2->win_workspace) && (c2->visible))
                 {
                     c->x = test_x;
                     c->y = test_y;
-- 
GitLab