logic error. re-allow plain moves, sorry :-\
BUG: 260847 svn path=/trunk/KDE/kdebase/workspace/; revision=1208406
This commit is contained in:
parent
796e7ff92a
commit
9835858a4c
1 changed files with 17 additions and 20 deletions
|
@ -1695,6 +1695,7 @@ const QPoint Client::calculateGravitation( bool invert, int gravity ) const
|
|||
|
||||
void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, int gravity, bool from_tool )
|
||||
{
|
||||
qDebug() << maximizeMode() << MaximizeFull;
|
||||
if ( maximizeMode() == MaximizeFull) // bugs #158974, #252314
|
||||
return; // "maximized" is a user setting -> we do not allow the client to resize itself away from this & against the user wish
|
||||
|
||||
|
@ -1728,9 +1729,6 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i
|
|||
QSize ns = sizeForClientSize( QSize( nw, nh ) ); // enforces size if needed
|
||||
new_pos = rules()->checkPosition( new_pos );
|
||||
|
||||
// TODO what to do with maximized windows?
|
||||
if ( ns != size())
|
||||
{
|
||||
QRect orig_geometry = geometry();
|
||||
GeometryUpdatesBlocker blocker( this );
|
||||
move( new_pos );
|
||||
|
@ -1749,7 +1747,6 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i
|
|||
if (hasStrut ())
|
||||
workspace() -> updateClientArea ();
|
||||
}
|
||||
}
|
||||
|
||||
if ( value_mask & (CWWidth | CWHeight )
|
||||
&& ! ( value_mask & ( CWX | CWY )) ) // pure resize
|
||||
|
|
Loading…
Reference in a new issue