diff options
Diffstat (limited to 'twin/client.h')
-rw-r--r-- | twin/client.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/twin/client.h b/twin/client.h index 944b837f6..178c718c4 100644 --- a/twin/client.h +++ b/twin/client.h @@ -233,13 +233,16 @@ class Client : public TQObject, public KDecorationDefines void resizeWithChecks( const TQSize& s, ForceGeometry_t force = NormalGeometrySet ); void keepInArea( TQRect area, bool partial = false ); void setActiveBorderMode( ActiveMaximizingMode mode ); + void setActiveBorderPos( TQPoint pos ); void setActiveBorder( ActiveBorder border); ActiveMaximizingMode activeBorderMode() const; + TQPoint activeBorderPos() const; ActiveBorder activeBorder() const; void setActiveBorderMaximizing(bool maximizing); void cancelActiveBorderMaximizing(); bool isActiveBorderMaximizing() const; TQRect activeBorderMaximizeGeometry(); + void tileToBorder(ActiveBorder border); void growHorizontal(); void shrinkHorizontal(); @@ -613,8 +616,8 @@ class Client : public TQObject, public KDecorationDefines bool activeMaximizing; bool activeTiled; - TQRect activeTiledOrigGeom; ActiveMaximizingMode activeMode; + TQPoint activePos; ActiveBorder currentActiveBorder; friend bool performTransiencyCheck(); @@ -758,7 +761,7 @@ inline bool Client::isOnAllDesktops() const } /*! Returns whether the client is on the virtual desktop \a d. - This is always TRUE for onAllDesktops clients. + This is always true for onAllDesktops clients. */ inline bool Client::isOnDesktop( int d ) const { |