Fix last commit.
svn path=/trunk/KDE/kdebase/kwin/; revision=423507
This commit is contained in:
parent
8ef2a46218
commit
5587e43337
2 changed files with 3 additions and 1 deletions
|
@ -1714,8 +1714,9 @@ void Client::postponeGeometryUpdates( bool postpone )
|
||||||
{
|
{
|
||||||
if( postpone )
|
if( postpone )
|
||||||
{
|
{
|
||||||
|
if( postpone_geometry_updates == 0 )
|
||||||
|
pending_geometry_update = false;
|
||||||
++postpone_geometry_updates;
|
++postpone_geometry_updates;
|
||||||
pending_geometry_update = false;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,6 +44,7 @@ bool Client::manage( Window w, bool isMapped )
|
||||||
|
|
||||||
// from this place on, manage() mustn't return false
|
// from this place on, manage() mustn't return false
|
||||||
postpone_geometry_updates = 1;
|
postpone_geometry_updates = 1;
|
||||||
|
pending_geometry_update = true; // force update when finishing with geometry changes
|
||||||
|
|
||||||
embedClient( w, attr );
|
embedClient( w, attr );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue