From 29415f170e4f5eeb9af7c22a331eebf70e3abdaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 23 Jun 2004 17:34:36 +0000 Subject: [PATCH] Fix applying initial position. svn path=/trunk/kdebase/kwin/; revision=323152 --- rules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.cpp b/rules.cpp index 3a9966cc30..cab1fbb78c 100644 --- a/rules.cpp +++ b/rules.cpp @@ -426,14 +426,14 @@ bool Rules::applyGeometry( QRect& rect, bool init ) const bool Rules::applyPosition( QPoint& pos, bool init ) const { - if( pos != invalidPoint && checkSetRule( positionrule, init )) + if( this->position != invalidPoint && checkSetRule( positionrule, init )) pos = this->position; return checkSetStop( positionrule ); } bool Rules::applySize( QSize& s, bool init ) const { - if( size.isValid() && checkSetRule( sizerule, init )) + if( this->size.isValid() && checkSetRule( sizerule, init )) s = this->size; return checkSetStop( sizerule ); }