Fix last commit.

svn path=/trunk/KDE/kdebase/kwin/; revision=423507
This commit is contained in:
Luboš Luňák 2005-06-08 17:32:19 +00:00
parent 8ef2a46218
commit 5587e43337
2 changed files with 3 additions and 1 deletions

View file

@ -1714,8 +1714,9 @@ void Client::postponeGeometryUpdates( bool postpone )
{
if( postpone )
{
if( postpone_geometry_updates == 0 )
pending_geometry_update = false;
++postpone_geometry_updates;
pending_geometry_update = false;
}
else
{

View file

@ -44,6 +44,7 @@ bool Client::manage( Window w, bool isMapped )
// from this place on, manage() mustn't return false
postpone_geometry_updates = 1;
pending_geometry_update = true; // force update when finishing with geometry changes
embedClient( w, attr );