Call updateShape() unconditionally, it checks itself for shape presence

and also handles input shape, about which shape() call doesn't say anything.
BUG: 152809


svn path=/trunk/KDE/kdebase/workspace/; revision=749695
icc-effect-5.14.5
Luboš Luňák 2007-12-17 16:30:36 +00:00
parent c7442deb32
commit a30d1ee6ad
2 changed files with 2 additions and 4 deletions

View File

@ -1719,8 +1719,7 @@ void Client::setGeometry( int x, int y, int w, int h, ForceGeometry_t force )
cs.width(), cs.height());
XMoveResizeWindow( display(), window(), 0, 0, cs.width(), cs.height());
}
if( shape())
updateShape();
updateShape();
}
else
XMoveWindow( display(), frameId(), x, y );

View File

@ -331,8 +331,7 @@ bool Client::manage( Window w, bool isMapped )
if(( !isSpecialWindow() || isToolbar()) && isMovable())
keepInArea( area, partial_keep_in_area );
if( shape())
updateShape();
updateShape();
//CT extra check for stupid jdk 1.3.1. But should make sense in general
// if client has initial state set to Iconic and is transient with a parent