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
This commit is contained in:
parent
c7442deb32
commit
a30d1ee6ad
2 changed files with 2 additions and 4 deletions
|
@ -1719,7 +1719,6 @@ 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();
|
||||
}
|
||||
else
|
||||
|
|
|
@ -331,7 +331,6 @@ bool Client::manage( Window w, bool isMapped )
|
|||
if(( !isSpecialWindow() || isToolbar()) && isMovable())
|
||||
keepInArea( area, partial_keep_in_area );
|
||||
|
||||
if( shape())
|
||||
updateShape();
|
||||
|
||||
//CT extra check for stupid jdk 1.3.1. But should make sense in general
|
||||
|
|
Loading…
Reference in a new issue