From 292bf1b83403f6e087bf7a795cb9e1ba54498c8b Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan.olivier@wanadoo.fr>
Date: Thu, 26 Jun 2003 20:32:01 +0000
Subject: [PATCH] Remov ethe workarround for gtk bug because KDE apps place
 themselves at a predefined position :(

(Old svn revision: 11200)
---
 src/client.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/client.c b/src/client.c
index 8c7f45c62..2a4eb32ae 100644
--- a/src/client.c
+++ b/src/client.c
@@ -2094,15 +2094,7 @@ clientInitPosition (Client * c)
 
     clientGravitate (c, APPLY);
 
-    /* 
-       Use of c->size->{x|y} is deprecated, so we use them
-       for our own use...  It seems there is a bug in GTK
-       that doesn't set PPosition flag even if it should,
-       so we also take the initial (x, y) values to see if
-       they were set at first
-     */ 
-    if ((c->size->flags & (PPosition | USPosition)) || 
-        ((c->size->x > 0) && (c->size->y > 0)))
+    if (c->size->flags & (PPosition | USPosition))
     {
         if (CONSTRAINED_WINDOW (c))
         {
-- 
GitLab