diff options
Diffstat (limited to 'twin/geometry.cpp')
-rw-r--r-- | twin/geometry.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/twin/geometry.cpp b/twin/geometry.cpp index 84f3fa25f..5c71e7c1f 100644 --- a/twin/geometry.cpp +++ b/twin/geometry.cpp @@ -717,10 +717,10 @@ void Client::keepInArea( TQRect area, bool partial ) if( partial ) { // increase the area so that can have only 100 pixels in the area - area.setLeft( QMIN( area.left() - width() + 100, area.left())); - area.setTop( QMIN( area.top() - height() + 100, area.top())); - area.setRight( QMAX( area.right() + width() - 100, area.right())); - area.setBottom( QMAX( area.bottom() + height() - 100, area.bottom())); + area.setLeft( TQMIN( area.left() - width() + 100, area.left())); + area.setTop( TQMIN( area.top() - height() + 100, area.top())); + area.setRight( TQMAX( area.right() + width() - 100, area.right())); + area.setBottom( TQMAX( area.bottom() + height() - 100, area.bottom())); } if ( geometry().right() > area.right() && width() < area.width() ) move( area.right() - width(), y() ); @@ -1131,10 +1131,10 @@ TQSize Client::sizeForClientSize( const TQSize& wsize, Sizemode mode, bool nofra if( decominsize.height() > min_size.height()) min_size.setHeight( decominsize.height()); } - w = QMIN( max_size.width(), w ); - h = QMIN( max_size.height(), h ); - w = QMAX( min_size.width(), w ); - h = QMAX( min_size.height(), h ); + w = TQMIN( max_size.width(), w ); + h = TQMIN( max_size.height(), h ); + w = TQMAX( min_size.width(), w ); + h = TQMAX( min_size.height(), h ); int w1 = w; int h1 = h; @@ -1307,8 +1307,8 @@ void Client::getWmNormalHints() xSizeHint.max_width = xSizeHint.max_height = INT_MAX; else { - xSizeHint.max_width = QMAX( xSizeHint.max_width, 1 ); - xSizeHint.max_height = QMAX( xSizeHint.max_height, 1 ); + xSizeHint.max_width = TQMAX( xSizeHint.max_width, 1 ); + xSizeHint.max_height = TQMAX( xSizeHint.max_height, 1 ); } if( xSizeHint.flags & PResizeInc ) { |