diff --git a/clientgroup.cpp b/clientgroup.cpp index 7d4652aadd..874ee12121 100644 --- a/clientgroup.cpp +++ b/clientgroup.cpp @@ -270,7 +270,7 @@ void ClientGroup::updateMinMaxSize() if( minSize_.width() > maxSize_.width() || minSize_.height() > maxSize_.height() ) { - kWarning(1212) << "ClientGroup's min size is greater than its' max size. Setting max to min."; + //kWarning(1212) << "ClientGroup's min size is greater than its max size. Setting max to min."; maxSize_ = minSize_; } diff --git a/geometry.cpp b/geometry.cpp index 3f651dffa3..239b1d5d97 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -1564,6 +1564,11 @@ void Client::getWmNormalHints() } if( ! ( xSizeHint.flags & PWinGravity )) xSizeHint.win_gravity = NorthWestGravity; + + // Update min/max size of this group + if( clientGroup() ) + clientGroup()->updateMinMaxSize(); + if( isManaged()) { // update to match restrictions QSize new_size = adjustedSize(); @@ -1775,11 +1780,6 @@ void Client::configureRequest( int value_mask, int rx, int ry, int rw, int rh, i } } } - - // Update states of all other windows in this group - if( clientGroup() ) - clientGroup()->updateStates( this ); - // No need to send synthetic configure notify event here, either it's sent together // with geometry change, or there's no need to send it. // Handling of the real ConfigureRequest event forces sending it, as there it's necessary.