From 29b6f2b279a40249c2301d02f800c6b15a01e837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 24 Sep 2002 16:29:20 +0000 Subject: [PATCH] Fix #47625. svn path=/trunk/kdebase/kwin/; revision=180142 --- placement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/placement.cpp b/placement.cpp index ca233c6912..c49f839e4c 100644 --- a/placement.cpp +++ b/placement.cpp @@ -295,7 +295,7 @@ void Placement::placeCascaded (Client* c, bool re_init) const int W = maxRect.width(); //initialize if needed - if (re_init) { + if (re_init || d->cci[dn].pos.x() < X || d->cci[dn].pos.y() < Y ) { d->cci[dn].pos = QPoint(X, Y); d->cci[dn].col = d->cci[dn].row = 0; }