reverted latest commit

svn path=/trunk/kdebase/kwin/; revision=68482
icc-effect-5.14.5
Matthias Ettrich 2000-10-21 14:26:05 +00:00
parent bf97a2aeec
commit 7090777e51
1 changed files with 1 additions and 8 deletions

View File

@ -538,14 +538,7 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
if ( isMapped || session || isTransient() ) {
placementDone = TRUE;
} else {
// Motif apps set invalid hints. Workaround that
// if ( (xSizeHint.flags & PPosition) || (xSizeHint.flags & USPosition) ) {
if ( ( ( xSizeHint.flags & PPosition ) &&
// For most Motif apps (from KDE 1.1.2 kwm)
( xSizeHint.x!=0 || xSizeHint.y!=0 ) &&
// Personally for Netscape - ugly, but tired of that bug ...
( xSizeHint.x!=10 || xSizeHint.y!=10 ) ) ||
( xSizeHint.flags & USPosition ) ) {
if ( (xSizeHint.flags & PPosition) || (xSizeHint.flags & USPosition) ) {
placementDone = TRUE;
if ( windowType() == NET::Normal && !area.contains( geom.topLeft() ) && may_move ) {
int tx = geom.x();