summaryrefslogtreecommitdiffstats
path: root/twin/client.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2023-06-22 19:34:06 +0300
committerMavridis Philippe <[email protected]>2023-07-04 15:28:28 +0300
commite4d35cab44f278b3f3a82906a55c06a150da0ae5 (patch)
treee73ccdea23e05fd5fd369ded0af9e7793ed76caa /twin/client.h
parent87b9269efb6aa965c1979972be7bdb045ef1ea58 (diff)
downloadtdebase-e4d35cab44f278b3f3a82906a55c06a150da0ae5.tar.gz
tdebase-e4d35cab44f278b3f3a82906a55c06a150da0ae5.zip
TWin: Add active corner support to quick tiling
Signed-off-by: Mavridis Philippe <[email protected]> (cherry picked from commit 5b1934dd5dc3245fcfd4a771fd45ed30dcaace54)
Diffstat (limited to 'twin/client.h')
-rw-r--r--twin/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/twin/client.h b/twin/client.h
index 332501f88..ae90fb619 100644
--- a/twin/client.h
+++ b/twin/client.h
@@ -233,7 +233,9 @@ 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 setActiveBorder( ActiveBorder border);
ActiveMaximizingMode activeBorderMode() const;
+ ActiveBorder activeBorder() const;
void setActiveBorderMaximizing(bool maximizing);
bool isActiveBorderMaximizing() const;
TQRect activeBorderMaximizeGeometry();
@@ -609,6 +611,7 @@ class Client : public TQObject, public KDecorationDefines
bool activeTiled;
TQRect activeTiledOrigGeom;
ActiveMaximizingMode activeMode;
+ ActiveBorder currentActiveBorder;
friend bool performTransiencyCheck();
bool minimized_before_suspend;