reverted latest commit
svn path=/trunk/kdebase/kwin/; revision=68482
This commit is contained in:
parent
bf97a2aeec
commit
7090777e51
1 changed files with 1 additions and 8 deletions
|
@ -538,14 +538,7 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
|
||||||
if ( isMapped || session || isTransient() ) {
|
if ( isMapped || session || isTransient() ) {
|
||||||
placementDone = TRUE;
|
placementDone = TRUE;
|
||||||
} else {
|
} else {
|
||||||
// Motif apps set invalid hints. Workaround that
|
if ( (xSizeHint.flags & PPosition) || (xSizeHint.flags & USPosition) ) {
|
||||||
// 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 ) ) {
|
|
||||||
placementDone = TRUE;
|
placementDone = TRUE;
|
||||||
if ( windowType() == NET::Normal && !area.contains( geom.topLeft() ) && may_move ) {
|
if ( windowType() == NET::Normal && !area.contains( geom.topLeft() ) && may_move ) {
|
||||||
int tx = geom.x();
|
int tx = geom.x();
|
||||||
|
|
Loading…
Reference in a new issue